Bundled Themes: Bump script and style version numbers.
When existing scripts or styles are updated in default themes, the version numbers in the enqueues should also be bumped to make sure the old files don't cache. This update bumps version numbers for changes since version 5.0, for themes Twenty Eleven through Twenty Nineteen. Fixes #45679. Built from https://develop.svn.wordpress.org/trunk@44382 git-svn-id: http://core.svn.wordpress.org/trunk@44212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e54d54d215
commit
e9b3073909
|
@ -200,7 +200,7 @@ function twentytwelve_scripts_styles() {
|
|||
wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
|
||||
|
||||
// Theme block stylesheet.
|
||||
wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181018' );
|
||||
wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230' );
|
||||
|
||||
// Loads the Internet Explorer specific stylesheet.
|
||||
wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' );
|
||||
|
@ -215,7 +215,7 @@ add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
|
|||
*/
|
||||
function twentytwelve_block_editor_styles() {
|
||||
// Block styles.
|
||||
wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
|
||||
wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
|
||||
// Add custom fonts.
|
||||
wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue