Skip to content

Commit

Permalink
Add missing deps param.
Browse files Browse the repository at this point in the history
  • Loading branch information
tareiking committed Feb 23, 2017
1 parent f54918f commit fcf9c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class.cmb-meta-box.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ function enqueue_styles() {
$suffix = CMB_DEV ? '' : '.min';

if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
wp_enqueue_style( 'cmb-styles', trailingslashit( CMB_URL ) . "css/dist/cmb$suffix.css", CMB_VERSION );
wp_enqueue_style( 'cmb-styles', trailingslashit( CMB_URL ) . "css/dist/cmb$suffix.css", array(), CMB_VERSION );
} else {
wp_enqueue_style( 'cmb-styles', trailingslashit( CMB_URL ) . 'css/legacy.css', CMB_VERSION );
wp_enqueue_style( 'cmb-styles', trailingslashit( CMB_URL ) . 'css/legacy.css', array(), CMB_VERSION );
}

foreach ( $this->fields as $field ) {
Expand Down

0 comments on commit fcf9c88

Please sign in to comment.