diff --git src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
index 299b034329..e931722654 100644
|
|
class WP_REST_Terms_Controller extends WP_REST_Controller { |
452 | 452 | return $fields_update; |
453 | 453 | } |
454 | 454 | |
455 | | $request->set_param( 'context', 'view' ); |
| 455 | $request->set_param( 'context', 'edit' ); |
456 | 456 | |
457 | 457 | $response = $this->prepare_item_for_response( $term, $request ); |
458 | 458 | $response = rest_ensure_response( $response ); |
… |
… |
class WP_REST_Terms_Controller extends WP_REST_Controller { |
543 | 543 | return $fields_update; |
544 | 544 | } |
545 | 545 | |
546 | | $request->set_param( 'context', 'view' ); |
| 546 | $request->set_param( 'context', 'edit' ); |
547 | 547 | |
548 | 548 | $response = $this->prepare_item_for_response( $term, $request ); |
549 | 549 | |