Ticket #46743: 46743.1.diff
| File 46743.1.diff, 5.7 KB (added by , 7 years ago) |
|---|
-
src/wp-content/themes/twentyeleven/functions.php
284 284 285 285 // Indicate widget sidebars can use selective refresh in the Customizer. 286 286 add_theme_support( 'customize-selective-refresh-widgets' ); 287 288 // Use the new body-open hook introduced in WordPress 5.2 289 add_theme_support( 'body-open' ); 287 290 } 288 291 endif; // twentyeleven_setup 289 292 -
src/wp-content/themes/twentyfifteen/functions.php
165 165 ) 166 166 ); 167 167 168 // Add support for the body-open tag introduced in 5.2 169 add_theme_support( 'body-open' ); 170 168 171 /* 169 172 * This theme styles the visual editor to resemble the theme style, 170 173 * specifically font, colors, icons, and column width. -
src/wp-content/themes/twentyfourteen/functions.php
73 73 // Load regular editor styles into the new block-based editor. 74 74 add_theme_support( 'editor-styles' ); 75 75 76 // Add support for the body-open tag introduced in 5.2 77 add_theme_support( 'body-open' ); 78 76 79 // Load default block styles. 77 80 add_theme_support( 'wp-block-styles' ); 78 81 -
src/wp-content/themes/twentynineteen/functions.php
37 37 // Add default posts and comments RSS feed links to head. 38 38 add_theme_support( 'automatic-feed-links' ); 39 39 40 // Add support for the body-open tag introduced in 5.2 41 add_theme_support( 'body-open' ); 42 40 43 /* 41 44 * Let WordPress manage the document title. 42 45 * By adding theme support, we declare that this theme does not use a -
src/wp-content/themes/twentyseventeen/functions.php
36 36 // Add default posts and comments RSS feed links to head. 37 37 add_theme_support( 'automatic-feed-links' ); 38 38 39 // Add support for the body-open tag introduced in 5.2 40 add_theme_support( 'body-open' ); 41 39 42 /* 40 43 * Let WordPress manage the document title. 41 44 * By adding theme support, we declare that this theme does not use a -
src/wp-content/themes/twentysixteen/functions.php
56 56 // Add default posts and comments RSS feed links to head. 57 57 add_theme_support( 'automatic-feed-links' ); 58 58 59 // Add support for the body-open tag introduced in 5.2 60 add_theme_support( 'body-open' ); 61 59 62 /* 60 63 * Let WordPress manage the document title. 61 64 * By adding theme support, we declare that this theme does not use a -
src/wp-content/themes/twentythirteen/functions.php
80 80 // Load regular editor styles into the new block-based editor. 81 81 add_theme_support( 'editor-styles' ); 82 82 83 // Add support for the body-open tag introduced in 5.2 84 add_theme_support( 'body-open' ); 85 83 86 // Load default block styles. 84 87 add_theme_support( 'wp-block-styles' ); 85 88 -
src/wp-content/themes/twentytwelve/functions.php
57 57 // This theme styles the visual editor with editor-style.css to match the theme style. 58 58 add_editor_style(); 59 59 60 // Add support for the body-open tag introduced in 5.2 61 add_theme_support( 'body-open' ); 62 60 63 // Load regular editor styles into the new block-based editor. 61 64 add_theme_support( 'editor-styles' ); 62 65 -
src/wp-includes/theme.php
2327 2327 * @since 5.0.0 The `responsive-embeds`, `align-wide`, `dark-editor-style`, `disable-custom-colors`, 2328 2328 * `disable-custom-font-sizes`, `editor-color-pallete`, `editor-font-sizes`, 2329 2329 * `editor-styles`, and `wp-block-styles` features were added. 2330 * @since 5.2.0 The `body-open` feature was added. 2330 2331 * 2331 2332 * @global array $_wp_theme_features 2332 2333 * … … 2333 2334 * @param string $feature The feature being added. Likely core values include 'post-formats', 2334 2335 * 'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads', 2335 2336 * 'custom-header', 'custom-background', 'title-tag', 'starter-content', 2336 * 'responsive-embeds', etc.2337 * 'responsive-embeds', 'body-open' etc. 2337 2338 * @param mixed $args,... Optional extra arguments to pass along with certain features. 2338 2339 * @return void|bool False on failure, void otherwise. 2339 2340 */