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. Built from https://develop.svn.wordpress.org/branches/5.0@43929 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bfca06c5ac
commit
64fb03bd3a
|
@ -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' );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-beta5-43928';
|
||||
$wp_version = '5.0-beta5-43929';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue