Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/inc/template-tags.php

    r45932 r47122  
    148148
    149149        <?php
    150     endif; // End is_singular()
     150    endif; // End is_singular().
    151151    }
    152152endif;
     
    229229
    230230        if ( $all_the_cool_cats > 1 || is_preview() ) {
    231             // This blog has more than 1 category so twentysixteen_categorized_blog should return true.
     231            // This blog has more than 1 category so twentysixteen_categorized_blog() should return true.
    232232            return true;
    233233        } else {
    234             // This blog has only 1 category so twentysixteen_categorized_blog should return false.
     234            // This blog has only 1 category so twentysixteen_categorized_blog() should return false.
    235235            return false;
    236236        }
     
    272272     * Fire the wp_body_open action.
    273273     *
    274      * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
     274     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
    275275     *
    276276     * @since Twenty Sixteen 2.0
Note: See TracChangeset for help on using the changeset viewer.