WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2021 12:34:36 PM (5 months ago)
Author:
desrosj
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].

Props SergeyBiryukov.
Merges [51322] 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/twentytwenty/template-parts/content-cover.php

    r47799 r51338  
    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.