- Timestamp:
- 12/03/2017 07:08:23 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r42350 r42354 420 420 $existing_term = get_term( $term_id, $this->taxonomy ); 421 421 $term->add_data( $existing_term->term_id, 'term_exists' ); 422 $term->add_data( array( 'status' => 40 9, 'term_id' => $term_id ) );422 $term->add_data( array( 'status' => 400, 'term_id' => $term_id ) ); 423 423 } 424 424
Note: See TracChangeset
for help on using the changeset viewer.