From be9d3db4ecfb2b71a0e4f6a9fcf799f8eb08d823 Mon Sep 17 00:00:00 2001 From: Salman Abbas Date: Sun, 23 Sep 2018 09:52:11 +0500 Subject: [PATCH] Fixed typo in wp_enqueue_style() call in inc/wpcom.php: file version passed as the $deps argument instead of $ver --- inc/wpcom.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/wpcom.php b/inc/wpcom.php index ca42c38..3de8a79 100644 --- a/inc/wpcom.php +++ b/inc/wpcom.php @@ -32,7 +32,7 @@ if ( ! function_exists ( 'understrap_wpcom_setup' ) ) { 'url' => '', ); } - + /* Add WP.com 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' ) ) { 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' ); } -} \ No newline at end of file +}