Changeset 43571 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r43087 r43571 37 37 38 38 register_rest_route( 39 $this->namespace, '/' . $this->rest_base, array( 39 $this->namespace, 40 '/' . $this->rest_base, 41 array( 40 42 array( 41 43 'methods' => WP_REST_Server::READABLE, … … 49 51 50 52 register_rest_route( 51 $this->namespace, '/' . $this->rest_base . '/(?P<status>[\w-]+)', array( 53 $this->namespace, 54 '/' . $this->rest_base . '/(?P<status>[\w-]+)', 55 array( 52 56 'args' => array( 53 57 'status' => array(
Note: See TracChangeset
for help on using the changeset viewer.