- Timestamp:
- 08/17/2018 01:50:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r43087 r43571 45 45 46 46 register_rest_route( 47 $this->namespace, '/' . $this->rest_base, array( 47 $this->namespace, 48 '/' . $this->rest_base, 49 array( 48 50 array( 49 51 'methods' => WP_REST_Server::READABLE, … … 63 65 64 66 register_rest_route( 65 $this->namespace, '/' . $this->rest_base . '/(?P<id>[\d]+)', array( 67 $this->namespace, 68 '/' . $this->rest_base . '/(?P<id>[\d]+)', 69 array( 66 70 'args' => array( 67 71 'id' => array(
Note: See TracChangeset
for help on using the changeset viewer.