Changeset 43637 for branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 09/13/2018 09:52:47 AM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r43445 r43637 442 442 $schema = $this->get_item_schema(); 443 443 if ( ! empty( $schema['properties']['meta'] ) && isset( $request['meta'] ) ) { 444 $meta_update = $this->meta->update_value( $request['meta'], (int) $request['id']);444 $meta_update = $this->meta->update_value( $request['meta'], $term->term_id ); 445 445 446 446 if ( is_wp_error( $meta_update ) ) {
Note: See TracChangeset
for help on using the changeset viewer.