Changeset 43714 for branches/5.0/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 10/11/2018 06:34:34 AM (7 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r43445 r43714 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.