Changeset 38310 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 08/22/2016 08:55:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r37905 r38310 422 422 $data = array(); 423 423 424 $accept = array();425 426 424 foreach ( $handler->get_routes() as $route => $endpoints ) { 427 $match = preg_match( '@^' . $route . '$@i', $request->get_route() , $args);425 $match = preg_match( '@^' . $route . '$@i', $request->get_route() ); 428 426 429 427 if ( ! $match ) {
Note: See TracChangeset
for help on using the changeset viewer.