Changeset 42578 for branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 01/23/2018 08:21:46 PM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r41760 r42578 416 416 $existing_term = get_term( $term_id, $this->taxonomy ); 417 417 $term->add_data( $existing_term->term_id, 'term_exists' ); 418 $term->add_data( array( 'status' => 409 ) );418 $term->add_data( array( 'status' => 409, 'term_id' => $term_id ) ); 419 419 } 420 420
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)