Changeset 45811 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php
- Timestamp:
- 08/15/2019 09:08:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php
r44269 r45811 162 162 */ 163 163 public function get_item_schema() { 164 return array( 164 if ( $this->schema ) { 165 return $this->schema; 166 } 167 168 $this->schema = array( 165 169 '$schema' => 'http://json-schema.org/schema#', 166 170 'title' => 'rendered-block', … … 175 179 ), 176 180 ); 181 return $this->schema; 177 182 } 178 183 }
Note: See TracChangeset
for help on using the changeset viewer.