Make WordPress Core

Ticket #46743: 46743.diff

File 46743.diff, 1.1 KB (added by desrosj, 7 years ago)
  • src/wp-includes/theme.php

     
    23272327 * @since 5.0.0 The `responsive-embeds`, `align-wide`, `dark-editor-style`, `disable-custom-colors`,
    23282328 *              `disable-custom-font-sizes`, `editor-color-pallete`, `editor-font-sizes`,
    23292329 *              `editor-styles`, and `wp-block-styles` features were added.
     2330 * @since 5.2.0 The `body-open` feature was added.
    23302331 *
    23312332 * @global array $_wp_theme_features
    23322333 *
    23332334 * @param string $feature  The feature being added. Likely core values include 'post-formats',
    23342335 *                         'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
    23352336 *                         'custom-header', 'custom-background', 'title-tag', 'starter-content',
    2336  *                         'responsive-embeds', etc.
     2337 *                         'responsive-embeds', 'body-open' etc.
    23372338 * @param mixed  $args,... Optional extra arguments to pass along with certain features.
    23382339 * @return void|bool False on failure, void otherwise.
    23392340 */