- Timestamp:
- 11/09/2021 01:57:48 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php
r52016 r52068 24 24 */ 25 25 protected $widgets_retrieved = false; 26 27 /** 28 * Whether the controller supports batching. 29 * 30 * @since 5.9.0 31 * @var array 32 */ 33 protected $allow_batch = array( 'v1' => true ); 26 34 27 35 /** … … 57 65 'args' => $this->get_endpoint_args_for_item_schema(), 58 66 ), 59 'allow_batch' => array( 'v1' => true ),67 'allow_batch' => $this->allow_batch, 60 68 'schema' => array( $this, 'get_public_item_schema' ), 61 69 ) … … 91 99 ), 92 100 ), 93 'allow_batch' => array( 'v1' => true ),101 'allow_batch' => $this->allow_batch, 94 102 'schema' => array( $this, 'get_public_item_schema' ), 95 103 )
Note: See TracChangeset
for help on using the changeset viewer.