Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php

    r45448 r45583  
    242242                } elseif ( $new_data['plugin_name'] === $old_data['plugin_name'] ) {
    243243                    // The info for the policy was updated.
    244                     $checked[] = array(
     244                    $checked[]    = array(
    245245                        'plugin_name' => $new_data['plugin_name'],
    246246                        'policy_text' => $new_data['policy_text'],
    247247                        'updated'     => $time,
    248248                    );
    249                     $found     = $update_cache = true;
     249                    $found        = true;
     250                    $update_cache = true;
    250251                }
    251252
     
    379380
    380381        foreach ( $content_array as $section ) {
    381             $class = $meta = $removed = '';
     382            $class   = '';
     383            $meta    = '';
     384            $removed = '';
    382385
    383386            if ( ! empty( $section['removed'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.