WordPress.org

Make WordPress Core

Changeset 48169


Ignore:
Timestamp:
06/25/2020 05:39:44 PM (7 weeks ago)
Author:
desrosj
Message:

Docs: Remove the custom-header-uploads feature from docs.

This was deprecated in [20212] in favor of passing ”uploads” => true to the custom-header feature, so it should not be specified as an available feature in the parameter documentation.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r48138 r48169  
    24502450 *
    24512451 * @since 2.9.0
     2452 * @since 3.4.0 The `custom-header-uploads` feature was deprecated.
    24522453 * @since 3.6.0 The `html5` feature was added.
    24532454 * @since 3.9.0 The `html5` feature now also accepts 'gallery' and 'caption'.
     
    24652466 *
    24662467 * @param string $feature The feature being added. Likely core values include 'post-formats',
    2467  *                        'post-thumbnails', 'html5', 'custom-logo', 'custom-header-uploads',
    2468  *                        'custom-header', 'custom-background', 'title-tag', 'starter-content',
     2468 *                        'post-thumbnails', 'html5', 'custom-logo', 'custom-header',
     2469 *                        'custom-background', 'title-tag', 'starter-content',
    24692470 *                        'responsive-embeds', etc.
    24702471 * @param mixed  ...$args Optional extra arguments to pass along with certain features.
Note: See TracChangeset for help on using the changeset viewer.