Changeset 43637
- Timestamp:
- 09/13/2018 09:52:47 AM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 3 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'], ); 445 445 446 446 if ( is_wp_error( $meta_update ) ) { -
branches/4.9/tests/phpunit/tests/rest-api/rest-tags-controller.php
r43445 r43637 617 617 } 618 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 619 650 public function test_update_item() { 620 651 wp_set_current_user( self::$administrator );
Note: See TracChangeset
for help on using the changeset viewer.