Skip to content
Permalink
Browse files

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
  • Loading branch information...
allancole
allancole committed Nov 21, 2018
1 parent 691a74f commit be920c82f56e50680964831c233c3f294294014d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-content/themes/twentynineteen/functions.php
@@ -217,7 +217,7 @@ function twentynineteen_content_width() {
* 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' );

0 comments on commit be920c8

Please sign in to comment.
You can’t perform that action at this time.