Merge pull request #815 from SalmanPK/master

Fixed typo in wp_enqueue_style() call in inc/wpcom.php
This commit is contained in:
Holger 2018-09-27 15:31:30 +02:00 committed by GitHub
commit 0dbfc1728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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' );
}
}
}