Changeset 45811 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 08/15/2019 09:08:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r44934 r45811 418 418 */ 419 419 public function get_item_schema() { 420 if ( $this->schema ) { 421 return $this->add_additional_fields_schema( $this->schema ); 422 } 420 423 421 424 $schema = parent::get_item_schema(); … … 514 517 unset( $schema['properties']['password'] ); 515 518 516 return $schema; 519 $this->schema = $schema; 520 return $this->add_additional_fields_schema( $this->schema ); 517 521 } 518 522
Note: See TracChangeset
for help on using the changeset viewer.