- Timestamp:
- 12/03/2017 06:10:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r42343 r42350 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' => 409 ) );422 $term->add_data( array( 'status' => 409, 'term_id' => $term_id ) ); 423 423 } 424 424
Note: See TracChangeset
for help on using the changeset viewer.