Make WordPress Core

Ticket #57840: 57840-twentyseventeen-docs.diff

File 57840-twentyseventeen-docs.diff, 1.3 KB (added by sabernhardt, 19 months ago)

Twenty Seventeen: correcting a typo and removing a word that never belongs in documentation (props mukesh27)

  • src/wp-content/themes/twentyseventeen/inc/template-functions.php

     
    6969/**
    7070 * Count our number of active panels.
    7171 *
    72  * Primarily used to see if we have any panels active, duh.
     72 * Primarily used to see if we have any panels active.
    7373 */
    7474function twentyseventeen_panel_count() {
    7575
  • src/wp-content/themes/twentyseventeen/inc/template-tags.php

     
    7070                // Get Tags for posts.
    7171                $tags_list = get_the_tag_list( '', $separate_meta );
    7272
    73                 // We don't want to output .entry-footer if it will be empty, so make sure its not.
     73                // We don't want to output .entry-footer if it will be empty, so make sure it is not.
    7474                if ( ( ( twentyseventeen_categorized_blog() && $categories_list ) || $tags_list ) || get_edit_post_link() ) {
    7575
    7676                        echo '<footer class="entry-footer">';