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.php

    r47799 r51338  
    7575    }
    7676
    77     /**
    78      *  Output comments wrapper if it's a post, or if comments are open,
     77    /*
     78     * Output comments wrapper if it's a post, or if comments are open,
    7979     * or if there's a comment number – and check for password.
    80      * */
     80     */
    8181    if ( ( is_single() || is_page() ) && ( comments_open() || get_comments_number() ) && ! post_password_required() ) {
    8282        ?>
Note: See TracChangeset for help on using the changeset viewer.