Changeset 46068
- Timestamp:
- 09/05/2019 10:58:50 PM (6 years ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r45932 r46068 132 132 * @since 4.7.0 133 133 * 134 * @param 134 * @param WP_REST_Request $request Full details about the request. 135 135 * @return true|WP_Error True if the request has read access, WP_Error object otherwise. 136 136 */ … … 1810 1810 * @since 4.9.8 1811 1811 * 1812 * @param WP_Post $post Post object. 1813 * @param WP_REST_Request Request object. 1814 * 1812 * @param WP_Post $post Post object. 1813 * @param WP_REST_Request $request Request object. 1815 1814 * @return array List of link relations. 1816 1815 */ … … 2563 2562 * @since 4.7.0 2564 2563 * 2565 * @param 2566 * @param 2567 * @param 2564 * @param string|array $statuses One or more post statuses. 2565 * @param WP_REST_Request $request Full details about the request. 2566 * @param string $parameter Additional parameter to pass to validation. 2568 2567 * @return array|WP_Error A list of valid statuses, otherwise WP_Error object. 2569 2568 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r45812 r46068 131 131 * @since 4.7.2 132 132 * 133 * @param int $ idSupplied ID.133 * @param int $parent Supplied ID. 134 134 * @return WP_Post|WP_Error Post object if ID is valid, WP_Error otherwise. 135 135 */
Note: See TracChangeset
for help on using the changeset viewer.