- Timestamp:
- 07/27/2017 12:40:27 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r39161 r41162 19 19 * 20 20 * @since 4.7.0 21 * @access protected22 21 * @var string 23 22 */ … … 28 27 * 29 28 * @since 4.7.0 30 * @access protected31 29 * @var string 32 30 */ … … 37 35 * 38 36 * @since 4.7.0 39 * @access public40 37 */ 41 38 public function register_routes() { … … 47 44 * 48 45 * @since 4.7.0 49 * @access public50 46 * 51 47 * @param WP_REST_Request $request Full data about the request. … … 60 56 * 61 57 * @since 4.7.0 62 * @access public63 58 * 64 59 * @param WP_REST_Request $request Full data about the request. … … 73 68 * 74 69 * @since 4.7.0 75 * @access public76 70 * 77 71 * @param WP_REST_Request $request Full data about the request. … … 86 80 * 87 81 * @since 4.7.0 88 * @access public89 82 * 90 83 * @param WP_REST_Request $request Full data about the request. … … 99 92 * 100 93 * @since 4.7.0 101 * @access public102 94 * 103 95 * @param WP_REST_Request $request Full data about the request. … … 112 104 * 113 105 * @since 4.7.0 114 * @access public115 106 * 116 107 * @param WP_REST_Request $request Full data about the request. … … 125 116 * 126 117 * @since 4.7.0 127 * @access public128 118 * 129 119 * @param WP_REST_Request $request Full data about the request. … … 138 128 * 139 129 * @since 4.7.0 140 * @access public141 130 * 142 131 * @param WP_REST_Request $request Full data about the request. … … 151 140 * 152 141 * @since 4.7.0 153 * @access public154 142 * 155 143 * @param WP_REST_Request $request Full data about the request. … … 164 152 * 165 153 * @since 4.7.0 166 * @access public167 154 * 168 155 * @param WP_REST_Request $request Full data about the request. … … 177 164 * 178 165 * @since 4.7.0 179 * @access public180 166 * 181 167 * @param WP_REST_Request $request Request object. … … 190 176 * 191 177 * @since 4.7.0 192 * @access public193 178 * 194 179 * @param mixed $item WordPress representation of the item. … … 204 189 * 205 190 * @since 4.7.0 206 * @access public207 191 * 208 192 * @param WP_REST_Response $response Response object. … … 234 218 * 235 219 * @since 4.7.0 236 * @access public237 220 * 238 221 * @param array $data Response data to fiter. … … 276 259 * 277 260 * @since 4.7.0 278 * @access public279 261 * 280 262 * @return array Item schema data. … … 288 270 * 289 271 * @since 4.7.0 290 * @access public291 272 * 292 273 * @return array Public item schema data. … … 307 288 * 308 289 * @since 4.7.0 309 * @access public310 290 * 311 291 * @return array Query parameters for the collection. … … 346 326 * 347 327 * @since 4.7.0 348 * @access public349 328 * 350 329 * @param array $args Optional. Additional arguments for context parameter. Default empty array. … … 385 364 * 386 365 * @since 4.7.0 387 * @access protected388 366 * 389 367 * @param array $object Data object. … … 411 389 * 412 390 * @since 4.7.0 413 * @access protected414 391 * 415 392 * @param array $object Data Object. … … 446 423 * 447 424 * @since 4.7.0 448 * @access protected449 425 * 450 426 * @param array $schema Schema array. … … 476 452 * 477 453 * @since 4.7.0 478 * @access protected479 454 * 480 455 * @param string $object_type Optional. The object type. … … 505 480 * 506 481 * @since 4.7.0 507 * @access protected508 482 * 509 483 * @return string Object type for the controller. … … 523 497 * 524 498 * @since 4.7.0 525 * @access public526 499 * 527 500 * @param string $method Optional. HTTP method of the request. The arguments for `CREATABLE` requests are … … 585 558 * 586 559 * @since 4.7.0 587 * @access public588 560 * 589 561 * @internal We can't use sanitize_title() directly, as the second
Note: See TracChangeset
for help on using the changeset viewer.