mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
added empty array for dependency to fix version number.
This commit is contained in:
parent
08f0d9a30b
commit
9479666eb5
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ class PluginName {
|
|||
|
||||
$screen = get_current_screen();
|
||||
if ( $screen->id == $this->plugin_screen_hook_suffix ) {
|
||||
wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'css/admin.css', __FILE__ ), $this->version );
|
||||
wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'css/admin.css', __FILE__ ), array(), $this->version );
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ class PluginName {
|
|||
* @since 1.0.0
|
||||
*/
|
||||
public function enqueue_styles() {
|
||||
wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( 'css/public.css', __FILE__ ), $this->version );
|
||||
wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( 'css/public.css', __FILE__ ), array(), $this->version );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue