Fixed typo in wp_enqueue_style() call in inc/wpcom.php: file version passed as the $deps argument instead of $ver

This commit is contained in:
Salman Abbas 2018-09-23 09:52:11 +05:00
parent c810218613
commit be9d3db4ec
1 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ if ( ! function_exists ( 'understrap_wpcom_setup' ) ) {
'url' => '', 'url' => '',
); );
} }
/* Add WP.com print styles */ /* Add WP.com print styles */
add_theme_support( 'print-styles' ); add_theme_support( 'print-styles' );
} }
@ -46,6 +46,6 @@ add_action( 'wp_enqueue_scripts', 'understrap_wpcom_styles' );
if ( ! function_exists ( 'understrap_wpcom_styles' ) ) { if ( ! function_exists ( 'understrap_wpcom_styles' ) ) {
function understrap_wpcom_styles() { function understrap_wpcom_styles() {
wp_enqueue_style( 'understrap-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20160411' ); wp_enqueue_style( 'understrap-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', array(), '20160411' );
} }
} }