- Timestamp:
- 02/28/2020 12:29:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r47328 r47391 43 43 * 44 44 * @since 4.7.0 45 * 46 * @see register_rest_route() 45 47 */ 46 48 public function register_routes() { … … 58 60 * @since 4.7.0 59 61 * 60 * @param WP_REST_Request $request Full d ataabout the request.62 * @param WP_REST_Request $request Full details about the request. 61 63 * @return true|WP_Error True if the request has read access, WP_Error object otherwise. 62 64 */ … … 75 77 * @since 4.7.0 76 78 * 77 * @param WP_REST_Request $request Full d ataabout the request.79 * @param WP_REST_Request $request Full details about the request. 78 80 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 79 81 */ … … 92 94 * @since 4.7.0 93 95 * 94 * @param WP_REST_Request $request Full d ataabout the request.96 * @param WP_REST_Request $request Full details about the request. 95 97 * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise. 96 98 */ … … 109 111 * @since 4.7.0 110 112 * 111 * @param WP_REST_Request $request Full d ataabout the request.113 * @param WP_REST_Request $request Full details about the request. 112 114 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 113 115 */ … … 126 128 * @since 4.7.0 127 129 * 128 * @param WP_REST_Request $request Full d ataabout the request.130 * @param WP_REST_Request $request Full details about the request. 129 131 * @return true|WP_Error True if the request has access to create items, WP_Error object otherwise. 130 132 */ … … 143 145 * @since 4.7.0 144 146 * 145 * @param WP_REST_Request $request Full d ataabout the request.147 * @param WP_REST_Request $request Full details about the request. 146 148 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 147 149 */ … … 160 162 * @since 4.7.0 161 163 * 162 * @param WP_REST_Request $request Full d ataabout the request.164 * @param WP_REST_Request $request Full details about the request. 163 165 * @return true|WP_Error True if the request has access to update the item, WP_Error object otherwise. 164 166 */ … … 177 179 * @since 4.7.0 178 180 * 179 * @param WP_REST_Request $request Full d ataabout the request.181 * @param WP_REST_Request $request Full details about the request. 180 182 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 181 183 */ … … 194 196 * @since 4.7.0 195 197 * 196 * @param WP_REST_Request $request Full d ataabout the request.198 * @param WP_REST_Request $request Full details about the request. 197 199 * @return true|WP_Error True if the request has access to delete the item, WP_Error object otherwise. 198 200 */ … … 211 213 * @since 4.7.0 212 214 * 213 * @param WP_REST_Request $request Full d ataabout the request.215 * @param WP_REST_Request $request Full details about the request. 214 216 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 215 217 */
Note: See TracChangeset
for help on using the changeset viewer.