mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: - Add dynamic theme version to stylesheet enqueue. Props grapplerulrich, kjellr. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
691a74fe55
commit
be920c82f5
@ -217,7 +217,7 @@ add_action( 'after_setup_theme', 'twentynineteen_content_width', 0 );
|
||||
* Enqueue scripts and styles.
|
||||
*/
|
||||
function twentynineteen_scripts() {
|
||||
wp_enqueue_style( 'twentynineteen-style', get_stylesheet_uri() );
|
||||
wp_enqueue_style( 'twentynineteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
|
||||
|
||||
wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user