- Timestamp:
- 06/02/2024 08:01:44 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r57648 r58283 24 24 */ 25 25 protected $meta; 26 27 /** 28 * Whether the controller supports batching. 29 * 30 * @since 6.6.0 31 * @var array 32 */ 33 protected $allow_batch = array( 'v1' => true ); 26 34 27 35 /** … … 62 70 'args' => $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), 63 71 ), 64 'schema' => array( $this, 'get_public_item_schema' ), 72 'allow_batch' => $this->allow_batch, 73 'schema' => array( $this, 'get_public_item_schema' ), 65 74 ) 66 75 ); … … 108 117 ), 109 118 ), 110 'schema' => array( $this, 'get_public_item_schema' ), 119 'allow_batch' => $this->allow_batch, 120 'schema' => array( $this, 'get_public_item_schema' ), 111 121 ) 112 122 );
Note: See TracChangeset
for help on using the changeset viewer.