mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2870,8 +2870,8 @@ function rest_preload_api_request( $memo, $path ) {
|
||||
$server = rest_get_server();
|
||||
/** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
|
||||
$response = apply_filters( 'rest_post_dispatch', rest_ensure_response( $response ), $server, $request );
|
||||
$embed = $request->has_param( '_embed' ) ? rest_parse_embed_param( $request['_embed'] ) : false;
|
||||
$data = (array) $server->response_to_data( $response, $embed );
|
||||
$embed = $request->has_param( '_embed' ) ? rest_parse_embed_param( $request['_embed'] ) : false;
|
||||
$data = (array) $server->response_to_data( $response, $embed );
|
||||
|
||||
if ( 'OPTIONS' === $method ) {
|
||||
$memo[ $method ][ $path ] = array(
|
||||
|
||||
Reference in New Issue
Block a user