Make WordPress Core

Changeset 61317


Ignore:
Timestamp:
11/28/2025 08:08:46 PM (7 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add missing variable names to some @param tags.

Follow-up to [46271], [46357], [51322].

Props huzaifaalmesbah.
See #64224.

Location:
trunk/src/wp-content/themes/twentytwenty
Files:
4 edited

Legend:

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

    r61302 r61317  
    820820     * @since Twenty Twenty 1.0
    821821     *
    822      * @param array Array of elements.
     822     * @param array $elements Array of elements.
    823823     */
    824824    return apply_filters( 'twentytwenty_get_elements_array', $elements );
  • trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php

    r61302 r61317  
    267267     * @since Twenty Twenty 1.0
    268268     *
    269      * @param array Array of post types.
     269     * @param array $post_types Array of post types.
    270270     */
    271271    $disallowed_post_types = apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' ) );
  • trunk/src/wp-content/themes/twentytwenty/template-parts/content-cover.php

    r55276 r61317  
    6060                             * @since Twenty Twenty 1.0
    6161                             *
    62                              * @param bool Whether to show the categories in article header. Default true.
     62                             * @param bool $show_categories Whether to show the categories in article header. Default true.
    6363                             */
    6464                            $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
  • trunk/src/wp-content/themes/twentytwenty/template-parts/entry-header.php

    r55276 r61317  
    2626         * @since Twenty Twenty 1.0
    2727         *
    28          * @param bool Whether to show the categories in header. Default true.
     28         * @param bool $show_categories Whether to show the categories in header. Default true.
    2929         */
    3030        $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
Note: See TracChangeset for help on using the changeset viewer.