- Timestamp:
- 10/13/2019 02:40:05 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r46098 r46469 542 542 $prepared_term = $this->prepare_item_for_database( $request ); 543 543 544 // Only update the term if we ha zsomething to update.544 // Only update the term if we have something to update. 545 545 if ( ! empty( $prepared_term ) ) { 546 546 $update = wp_update_term( $term->term_id, $term->taxonomy, wp_slash( (array) $prepared_term ) );
Note: See TracChangeset
for help on using the changeset viewer.