WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2021 07:07:01 PM (7 months ago)
Author:
desrosj
Message:

Twenty Twenty-One: Add missing documentation for some filters.

Add missing @since tags for some functions.

Follow-up to [49216], [49220], [49854], [51294].

Props SergeyBiryukov.
Merges [51304] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-content/themes/twentytwentyone/functions.php

    r49865 r51320  
    9696        );
    9797
    98         /**
     98        /*
    9999         * Add support for core custom logo.
    100100         *
     
    486486 * thus it does not warrant having an entire dedicated blocking script being loaded.
    487487 *
     488 * @since Twenty Twenty-One 1.0
     489 *
    488490 * @link https://git.io/vWdr2
    489491 */
     
    604606 */
    605607function twentytwentyone_the_html_classes() {
     608    /**
     609     * Filters the classes for the main <html> element.
     610     *
     611     * @since Twenty Twenty-One 1.0
     612     *
     613     * @param string The list of classes. Default empty string.
     614     */
    606615    $classes = apply_filters( 'twentytwentyone_html_classes', '' );
    607616    if ( ! $classes ) {
Note: See TracChangeset for help on using the changeset viewer.