WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (20 months 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/twentyfifteen/inc/template-tags.php

    r45932 r47122  
    164164
    165165    if ( $all_the_cool_cats > 1 || is_preview() ) {
    166         // This blog has more than 1 category so twentyfifteen_categorized_blog should return true.
     166        // This blog has more than 1 category so twentyfifteen_categorized_blog() should return true.
    167167        return true;
    168168    } else {
    169         // This blog has only 1 category so twentyfifteen_categorized_blog should return false.
     169        // This blog has only 1 category so twentyfifteen_categorized_blog() should return false.
    170170        return false;
    171171    }
     
    214214
    215215        <?php
    216     endif; // End is_singular()
     216    endif; // End is_singular().
    217217    }
    218218endif;
     
    276276     * Fire the wp_body_open action.
    277277     *
    278      * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
     278     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
    279279     *
    280280     * @since Twenty Fifteen 2.5
Note: See TracChangeset for help on using the changeset viewer.