Changeset 60635 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 08/14/2025 09:14:18 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r60177 r60635 1748 1748 1749 1749 foreach ( $requests as $single_request ) { 1750 if ( is_wp_error( $single_request ) ) { 1751 $has_error = true; 1752 $validation[] = $single_request; 1753 continue; 1754 } 1755 1750 1756 $match = $this->match_request_to_handler( $single_request ); 1751 1757 $matches[] = $match; … … 1818 1824 1819 1825 foreach ( $requests as $i => $single_request ) { 1826 if ( is_wp_error( $single_request ) ) { 1827 $result = $this->error_to_response( $single_request ); 1828 $responses[] = $this->envelope_response( $result, false )->get_data(); 1829 continue; 1830 } 1831 1820 1832 $clean_request = clone $single_request; 1821 1833 $clean_request->set_url_params( array() );
Note: See TracChangeset
for help on using the changeset viewer.