WordPress.org

Make WordPress Core

Ticket #37067: 37067.diff

File 37067.diff, 1.1 KB (added by DrewAPicture, 4 years ago)
  • src/wp-includes/theme.php

     
    15241524 *
    15251525 * @global array $_wp_theme_features
    15261526 *
    1527  * @param string $feature The feature being added. Likely core values include 'post-formats',
    1528  *                        'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
    1529  *                        'custom-header', 'custom-background', 'title-tag', etc.
     1527 * @param string $feature  The feature being added. Likely core values include 'post-formats',
     1528 *                         'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
     1529 *                         'custom-header', 'custom-background', 'title-tag', etc.
     1530 * @param mixed $args ,... Optional extra arguments to pass along with certain features. For
     1531 *                         instance, if `$feature` is 'post-formats', an array of post format
     1532 *                         slugs would be passed.
     1533 *
    15301534 * @return void|bool False on failure, void otherwise.
    15311535 */
    15321536function add_theme_support( $feature ) {