- Timestamp:
- 12/06/2019 10:41:26 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r46646 r46823 870 870 * @since 4.7.0 871 871 * 872 * @param object$post The deleted or trashed post.872 * @param WP_Post $post The deleted or trashed post. 873 873 * @param WP_REST_Response $response The response data. 874 874 * @param WP_REST_Request $request The request sent to the API. … … 1146 1146 * @since 4.7.0 1147 1147 * 1148 * @param string $post_status Post status.1149 * @param object$post_type Post type.1148 * @param string $post_status Post status. 1149 * @param WP_Post_Type $post_type Post type. 1150 1150 * @return string|WP_Error Post status or WP_Error if lacking the proper permission. 1151 1151 */ … … 1322 1322 * @since 4.7.0 1323 1323 * 1324 * @param object|string $post_type Post type name or object.1324 * @param WP_Post_Type|string $post_type Post type name or object. 1325 1325 * @return bool Whether the post type is allowed in REST. 1326 1326 */ … … 1344 1344 * @since 4.7.0 1345 1345 * 1346 * @param object $post Post object.1346 * @param WP_Post $post Post object. 1347 1347 * @return bool Whether the post can be read. 1348 1348 */ … … 1387 1387 * @since 4.7.0 1388 1388 * 1389 * @param object $post Post object.1389 * @param WP_Post $post Post object. 1390 1390 * @return bool Whether the post can be edited. 1391 1391 */ … … 1405 1405 * @since 4.7.0 1406 1406 * 1407 * @param object $post Post object.1407 * @param WP_Post $post Post object. 1408 1408 * @return bool Whether the post can be created. 1409 1409 */ … … 1423 1423 * @since 4.7.0 1424 1424 * 1425 * @param object $post Post object.1425 * @param WP_Post $post Post object. 1426 1426 * @return bool Whether the post can be deleted. 1427 1427 */
Note: See TracChangeset
for help on using the changeset viewer.