Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46586 r47122  
    155155                $value = '"' . $value . '"';
    156156            }
     157
    157158            $header .= '; ' . $key . '=' . $value;
    158159        }
     
    232233            $data = $this->get_data();
    233234            $error->add( $data['code'], $data['message'], $data['data'] );
     235
    234236            if ( ! empty( $data['additional_errors'] ) ) {
    235237                foreach ( $data['additional_errors'] as $err ) {
     
    286288         */
    287289        $additional = apply_filters( 'rest_response_link_curies', array() );
     290
    288291        return array_merge( $curies, $additional );
    289292    }
Note: See TracChangeset for help on using the changeset viewer.