- Timestamp:
- 07/27/2017 12:40:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r40606 r41162 21 21 * 22 22 * @since 4.7.0 23 * @access protected24 23 * @var string 25 24 */ … … 30 29 * 31 30 * @since 4.7.0 32 * @access protected33 31 * @var WP_REST_Post_Meta_Fields 34 32 */ … … 39 37 * 40 38 * @since 4.7.0 41 * @access public42 39 * 43 40 * @param string $post_type Post type. … … 56 53 * 57 54 * @since 4.7.0 58 * @access public59 55 * 60 56 * @see register_rest_route() … … 127 123 * 128 124 * @since 4.7.0 129 * @access public130 125 * 131 126 * @param WP_REST_Request $request Full details about the request. … … 147 142 * 148 143 * @since 4.7.0 149 * @access public150 144 * 151 145 * @param WP_REST_Request $request Full details about the request. … … 390 384 * 391 385 * @since 4.7.0 392 * @access public393 386 * 394 387 * @param WP_REST_Request $request Full details about the request. … … 431 424 * 432 425 * @since 4.7.0 433 * @access public434 426 * 435 427 * @param WP_Post $post Post to check against. … … 461 453 * 462 454 * @since 4.7.0 463 * @access public464 455 * 465 456 * @param WP_REST_Request $request Full details about the request. … … 486 477 * 487 478 * @since 4.7.0 488 * @access public489 479 * 490 480 * @param WP_REST_Request $request Full details about the request. … … 521 511 * 522 512 * @since 4.7.0 523 * @access public524 513 * 525 514 * @param WP_REST_Request $request Full details about the request. … … 625 614 * 626 615 * @since 4.7.0 627 * @access public628 616 * 629 617 * @param WP_REST_Request $request Full details about the request. … … 661 649 * 662 650 * @since 4.7.0 663 * @access public664 651 * 665 652 * @param WP_REST_Request $request Full details about the request. … … 749 736 * 750 737 * @since 4.7.0 751 * @access public752 738 * 753 739 * @param WP_REST_Request $request Full details about the request. … … 771 757 * 772 758 * @since 4.7.0 773 * @access public774 759 * 775 760 * @param WP_REST_Request $request Full details about the request. … … 861 846 * 862 847 * @since 4.7.0 863 * @access protected864 848 * 865 849 * @param array $prepared_args Optional. Prepared WP_Query arguments. Default empty array. … … 908 892 * 909 893 * @since 4.7.0 910 * @access protected911 894 * 912 895 * @param string $date_gmt GMT publication time. … … 933 916 * 934 917 * @since 4.7.0 935 * @access protected936 918 * 937 919 * @param WP_REST_Request $request Request object. … … 1107 1089 * 1108 1090 * @since 4.7.0 1109 * @access protected1110 1091 * 1111 1092 * @param string $post_status Post status. … … 1144 1125 * 1145 1126 * @since 4.7.0 1146 * @access protected1147 1127 * 1148 1128 * @param int $featured_media Featured Media ID. … … 1170 1150 * 1171 1151 * @since 4.7.0 1172 * @access public1173 1152 * 1174 1153 * @param string $template Page template filename. … … 1187 1166 * 1188 1167 * @since 4.7.0 1189 * @access protected1190 1168 * 1191 1169 * @param int $post_id The post ID to update the terms form. … … 1215 1193 * 1216 1194 * @since 4.7.0 1217 * @access protected1218 1195 * 1219 1196 * @param WP_REST_Request $request The request object with post and terms data. … … 1248 1225 * 1249 1226 * @since 4.7.0 1250 * @access protected1251 1227 * 1252 1228 * @param object|string $post_type Post type name or object. … … 1271 1247 * 1272 1248 * @since 4.7.0 1273 * @access public1274 1249 * 1275 1250 * @param object $post Post object. … … 1315 1290 * 1316 1291 * @since 4.7.0 1317 * @access protected1318 1292 * 1319 1293 * @param object $post Post object. … … 1334 1308 * 1335 1309 * @since 4.7.0 1336 * @access protected1337 1310 * 1338 1311 * @param object $post Post object. … … 1353 1326 * 1354 1327 * @since 4.7.0 1355 * @access protected1356 1328 * 1357 1329 * @param object $post Post object. … … 1372 1344 * 1373 1345 * @since 4.7.0 1374 * @access public1375 1346 * 1376 1347 * @param WP_Post $post Post object. … … 1589 1560 * 1590 1561 * @since 4.7.0 1591 * @access public1592 1562 * 1593 1563 * @return string Protected title format. … … 1601 1571 * 1602 1572 * @since 4.7.0 1603 * @access protected1604 1573 * 1605 1574 * @param WP_Post $post Post object. … … 1710 1679 * 1711 1680 * @since 4.7.0 1712 * @access public1713 1681 * 1714 1682 * @return array Item schema data. … … 2049 2017 * 2050 2018 * @since 4.7.0 2051 * @access public2052 2019 * 2053 2020 * @return array Collection parameters. … … 2244 2211 * 2245 2212 * @since 4.7.0 2246 * @access public2247 2213 * 2248 2214 * @param string|array $statuses One or more post statuses.
Note: See TracChangeset
for help on using the changeset viewer.