WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:13:48 AM (7 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add missing documentation for some filters.

Add missing @since tags for some functions.

Correct alignment of some @param tags.

Follow-up to [46271], [46278], [51304].

See #52628, #53461.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/content-cover.php

    r47799 r51322  
    6060                             * @since Twenty Twenty 1.0
    6161                             *
    62                              * @param bool Whether to show the categories in article header, Default true.
     62                             * @param bool Whether to show the categories in article header. Default true.
    6363                             */
    6464                            $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
     
    163163    }
    164164
    165     /**
    166      *  Output comments wrapper if it's a post, or if comments are open,
     165    /*
     166     * Output comments wrapper if it's a post, or if comments are open,
    167167     * or if there's a comment number – and check for password.
    168      * */
     168     */
    169169    if ( ( is_single() || is_page() ) && ( comments_open() || get_comments_number() ) && ! post_password_required() ) {
    170170        ?>
Note: See TracChangeset for help on using the changeset viewer.