Make WordPress Core


Ignore:
Timestamp:
07/02/2021 08:56:06 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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

Add missing @since tags for some functions.

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

See #52628, #53461.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/functions.php

    r49865 r51304  
    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.