Changeset 49194 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 10/18/2020 05:31:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r49154 r49194 2391 2391 2392 2392 // The only controller that works is the Terms controller. 2393 if ( 'WP_REST_Terms_Controller' === get_class( $controller )) {2393 if ( $controller instanceof WP_REST_Terms_Controller ) { 2394 2394 $namespace = 'wp/v2'; 2395 2395 $rest_base = ! empty( $taxonomy->rest_base ) ? $taxonomy->rest_base : $taxonomy->name;
Note: See TracChangeset
for help on using the changeset viewer.