Make WordPress Core

Changeset 62773


Ignore:
Timestamp:
07/17/2026 04:27:59 PM (4 weeks ago)
Author:
desrosj
Message:

REST API: Ensure errors in batch requests propogate.

Merges [62770] to the 7.0 branch.

Props xknown, sergeybiryukov, joehoyle, jorbin, clorith, johnbillion, desrosj.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-includes/rest-api/class-wp-rest-server.php

    r62772 r62773  
    17511751                        if ( is_wp_error( $single_request ) ) {
    17521752                                $has_error    = true;
     1753                                $matches[]    = $single_request;
    17531754                                $validation[] = $single_request;
    17541755                                continue;
Note: See TracChangeset for help on using the changeset viewer.