Changeset 43756 for branches/5.0/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 10/18/2018 08:31:58 PM (7 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r43737 r43756 419 419 $existing_term = get_term( $term_id, $this->taxonomy ); 420 420 $term->add_data( $existing_term->term_id, 'term_exists' ); 421 $term->add_data( array( 'status' => 40 9, 'term_id' => $term_id ) );421 $term->add_data( array( 'status' => 400, 'term_id' => $term_id ) ); 422 422 } 423 423
Note: See TracChangeset
for help on using the changeset viewer.