Changeset 40079
- Timestamp:
- 02/19/2017 03:27:13 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/rest-api.php
r39957 r40079 265 265 266 266 // Fire off the request. 267 $server->serve_request( untrailingslashit( $GLOBALS['wp']->query_vars['rest_route'] ) ); 267 $route = untrailingslashit( $GLOBALS['wp']->query_vars['rest_route'] ); 268 if ( empty( $route ) ) { 269 $route = '/'; 270 } 271 $server->serve_request( $route ); 268 272 269 273 // We're done.
Note: See TracChangeset
for help on using the changeset viewer.