Changeset 62775 for branches/6.9/src/wp-includes/rest-api.php
- Timestamp:
- 07/17/2026 04:36:42 PM (2 months ago)
- File:
-
- 1 edited
-
branches/6.9/src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.9/src/wp-includes/rest-api.php
r61178 r62775 439 439 } 440 440 441 // Short-circuit before define()/die() if a REST dispatch is already in flight. 442 // serve_request() enforces this too; guarding here avoids the trailing die(). 443 if ( isset( $GLOBALS['wp_rest_server'] ) 444 && $GLOBALS['wp_rest_server'] instanceof WP_REST_Server 445 && $GLOBALS['wp_rest_server']->is_dispatching() 446 ) { 447 return; 448 } 449 441 450 // Return an error message if query_var is not a string. 442 451 if ( ! is_string( $GLOBALS['wp']->query_vars['rest_route'] ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)