Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:40:16 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.2.1.

This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.

Fixes #45956.

File:
1 edited

Legend:

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

    r43571 r44574  
    198198
    199199    <a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true">
    200     <?php
    201     if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) ) {
    202         the_post_thumbnail( 'twentyfourteen-full-width' );
    203     } else {
    204         the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) );
    205     }
    206     ?>
     200            <?php
     201            if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) ) {
     202                the_post_thumbnail( 'twentyfourteen-full-width' );
     203            } else {
     204                the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) );
     205            }
     206            ?>
    207207    </a>
    208208
    209     <?php
     209            <?php
    210210    endif; // End is_singular()
    211211    }
Note: See TracChangeset for help on using the changeset viewer.