WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (17 months ago)
Author:
pento
Message:

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

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    r45424 r45590  
    499499                        $error->add( $code, $message );
    500500                    }
    501                     if ( $error_data = $error->get_error_data( $code ) ) {
     501                    $error_data = $error->get_error_data( $code );
     502                    if ( $error_data ) {
    502503                        $error->add_data( $error_data, $code );
    503504                    }
Note: See TracChangeset for help on using the changeset viewer.