WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:22:31 AM (2 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in the default themes.

See #47632

File:
1 edited

Legend:

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

    r45256 r45581  
    132132 */
    133133function twentyfourteen_categorized_blog() {
    134     if ( false === ( $all_the_cool_cats = get_transient( 'twentyfourteen_category_count' ) ) ) {
     134    $all_the_cool_cats = get_transient( 'twentyfourteen_category_count' );
     135    if ( false === $all_the_cool_cats ) {
    135136        // Create an array of all the categories that are attached to posts
    136137        $all_the_cool_cats = get_categories(
Note: See TracChangeset for help on using the changeset viewer.