Make WordPress Core


Ignore:
Timestamp:
05/23/2022 08:38:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct alignment in various files.

This fixes an Equals sign not aligned correctly WPCS warning.

Additionally, this commit sets the svn:eol-style property for the phpunit/tests/ajax/wpAjaxCropImage.php file and corrects line endings, so that the output of composer format is clean.

Follow-up to [53027], [53217], [53404].

Props hellofromTonya, SergeyBiryukov.
See #55647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api.php

    r53217 r53441  
    28712871        /** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
    28722872        $response = apply_filters( 'rest_post_dispatch', rest_ensure_response( $response ), $server, $request );
    2873         $embed  = $request->has_param( '_embed' ) ? rest_parse_embed_param( $request['_embed'] ) : false;
    2874         $data   = (array) $server->response_to_data( $response, $embed );
     2873        $embed    = $request->has_param( '_embed' ) ? rest_parse_embed_param( $request['_embed'] ) : false;
     2874        $data     = (array) $server->response_to_data( $response, $embed );
    28752875
    28762876        if ( 'OPTIONS' === $method ) {
Note: See TracChangeset for help on using the changeset viewer.