Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:22:31 AM (6 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/twentysixteen/inc/template-tags.php

    r45256 r45581  
    210210     */
    211211    function twentysixteen_categorized_blog() {
    212         if ( false === ( $all_the_cool_cats = get_transient( 'twentysixteen_categories' ) ) ) {
     212        $all_the_cool_cats = get_transient( 'twentysixteen_categories' );
     213        if ( false === $all_the_cool_cats ) {
    213214            // Create an array of all the categories that are attached to posts.
    214215            $all_the_cool_cats = get_categories(
Note: See TracChangeset for help on using the changeset viewer.