1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-23 04:13:53 +02:00

Merge pull request #55 from tokkonopapa/issue1

added empty array for dependency to fix version number.
This commit is contained in:
Tom McFarlin 2013-05-25 05:01:41 -07:00
commit 8c16872062

View file

@ -153,7 +153,7 @@ class PluginName {
$screen = get_current_screen(); $screen = get_current_screen();
if ( $screen->id == $this->plugin_screen_hook_suffix ) { 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 * @since 1.0.0
*/ */
public function enqueue_styles() { 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 );
} }
/** /**