WordPress.org

Make WordPress Core

Ticket #45679: 45679.2.patch

File 45679.2.patch, 12.6 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentyeleven/functions.php

     
    292292 */
    293293function twentyeleven_scripts_styles() {
    294294        // Theme block stylesheet.
    295         wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' );
     295        wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' );
    296296}
    297297add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
    298298
     
    303303 */
    304304function twentyeleven_block_editor_styles() {
    305305        // Block styles.
    306         wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );
     306        wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' );
    307307}
    308308add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
    309309
  • src/wp-content/themes/twentyfifteen/functions.php

     
    370370        wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
    371371
    372372        // Theme block stylesheet.
    373         wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20181018' );
     373        wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20181230' );
    374374
    375375        // Load the Internet Explorer specific stylesheet.
    376376        wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
     
    409409 */
    410410function twentyfifteen_block_editor_styles() {
    411411        // Block styles.
    412         wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     412        wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    413413        // Add custom fonts.
    414414        wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
    415415}
  • src/wp-content/themes/twentyfourteen/functions.php

     
    319319        wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
    320320
    321321        // Theme block stylesheet.
    322         wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181018' );
     322        wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181230' );
    323323
    324324        // Load the Internet Explorer specific stylesheet.
    325325        wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' );
     
    395395 */
    396396function twentyfourteen_block_editor_styles() {
    397397        // Block styles.
    398         wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     398        wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    399399        // Add custom fonts.
    400400        wp_enqueue_style( 'twentyfourteen-fonts', twentyfourteen_font_url(), array(), null );
    401401}
  • src/wp-content/themes/twentynineteen/functions.php

     
    222222        wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' );
    223223
    224224        if ( has_nav_menu( 'menu-1' ) ) {
    225                 wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1.0', true );
    226                 wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1.0', true );
     225                wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1.1', true );
     226                wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1.1', true );
    227227        }
    228228
    229229        wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' );
     
    257257 */
    258258function twentynineteen_editor_customizer_styles() {
    259259
    260         wp_enqueue_style( 'twentynineteen-editor-customizer-styles', get_theme_file_uri( '/style-editor-customizer.css' ), false, '1.0', 'all' );
     260        wp_enqueue_style( 'twentynineteen-editor-customizer-styles', get_theme_file_uri( '/style-editor-customizer.css' ), false, '1.1', 'all' );
    261261
    262262        if ( 'custom' === get_theme_mod( 'primary_color' ) ) {
    263263                // Include color patterns.
  • src/wp-content/themes/twentynineteen/inc/customizer.php

     
    125125 * Bind JS handlers to instantly live-preview changes.
    126126 */
    127127function twentynineteen_customize_preview_js() {
    128         wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181108', true );
     128        wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181231', true );
    129129}
    130130add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' );
    131131
     
    133133 * Load dynamic logic for the customizer controls area.
    134134 */
    135135function twentynineteen_panels_js() {
    136         wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181031', true );
     136        wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181231', true );
    137137}
    138138add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' );
    139139
  • src/wp-content/themes/twentyseventeen/functions.php

     
    449449        wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri() );
    450450
    451451        // Theme block stylesheet.
    452         wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '1.0' );
     452        wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '1.1' );
    453453
    454454        // Load the dark colorscheme.
    455455        if ( 'dark' === get_theme_mod( 'colorscheme', 'light' ) || is_customize_preview() ) {
     
    507507 */
    508508function twentyseventeen_block_editor_styles() {
    509509        // Block styles.
    510         wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ) );
     510        wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ), array(), '1.1' );
    511511        // Add custom fonts.
    512512        wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null );
    513513}
  • src/wp-content/themes/twentysixteen/functions.php

     
    370370        wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() );
    371371
    372372        // Theme block stylesheet.
    373         wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181018' );
     373        wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181230' );
    374374
    375375        // Load the Internet Explorer specific stylesheet.
    376376        wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20160816' );
     
    398398                wp_enqueue_script( 'twentysixteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20160816' );
    399399        }
    400400
    401         wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20160816', true );
     401        wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20181230', true );
    402402
    403403        wp_localize_script(
    404404                'twentysixteen-script',
     
    418418 */
    419419function twentysixteen_block_editor_styles() {
    420420        // Block styles.
    421         wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     421        wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    422422        // Add custom fonts.
    423423        wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null );
    424424}
  • src/wp-content/themes/twentyten/functions.php

     
    701701 */
    702702function twentyten_scripts_styles() {
    703703        // Theme block stylesheet.
    704         wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' );
     704        wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' );
    705705}
    706706add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' );
    707707
  • src/wp-content/themes/twentythirteen/functions.php

     
    283283        wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' );
    284284
    285285        // Theme block stylesheet.
    286         wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-10-18' );
     286        wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' );
    287287
    288288        // Loads the Internet Explorer specific stylesheet.
    289289        wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' );
     
    323323 */
    324324function twentythirteen_block_editor_styles() {
    325325        // Block styles.
    326         wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     326        wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' );
    327327        // Add custom fonts.
    328328        wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
    329329}
  • src/wp-content/themes/twentytwelve/functions.php

     
    200200        wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
    201201
    202202        // Theme block stylesheet.
    203         wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181018' );
     203        wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230' );
    204204
    205205        // Loads the Internet Explorer specific stylesheet.
    206206        wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' );
     
    215215 */
    216216function twentytwelve_block_editor_styles() {
    217217        // Block styles.
    218         wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );
     218        wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    219219        // Add custom fonts.
    220220        wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
    221221}