Ticket #39357: 39357.patch
File 39357.patch, 3.4 KB (added by , 8 years ago) |
---|
-
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
1593 1593 * string is allowed when a comment is being updated. 1594 1594 * 1595 1595 * @since 4.7.0 1596 * @access public 1596 1597 * 1597 1598 * @param string $value Author email value submitted. 1598 1599 * @param WP_REST_Request $request Full details about the request. -
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
1166 1166 * Checks whether current user can assign all terms sent with the current request. 1167 1167 * 1168 1168 * @since 4.7.0 1169 * @access protected 1169 1170 * 1170 1171 * @param WP_REST_Request $request The request object with post and terms data. 1171 1172 * @return bool Whether the current user can assign the provided terms. … … 1518 1519 * "Protected: %s", as the REST API communicates the protected status of a post 1519 1520 * in a machine readable format, we remove the "Protected: " prefix. 1520 1521 * 1522 * @since 4.7.0 1523 * @access public 1524 * 1521 1525 * @return string Protected title format. 1522 1526 */ 1523 1527 public function protected_title_format() { -
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
305 305 * `null` as it's not a valid value for something like "type => string". We 306 306 * provide a wrapper sanitizer to whitelist the use of `null`. 307 307 * 308 * @since 4.7.0 309 * @access public 310 * 308 311 * @param mixed $value The value for the setting. 309 312 * @param WP_REST_Request $request The request object. 310 313 * @param string $param The parameter name. -
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
142 142 * The value can be an integer, 'false', false, or ''. 143 143 * 144 144 * @since 4.7.0 145 * @access public 145 146 * 146 147 * @param int|bool $value The value passed to the reassign parameter. 147 148 * @param WP_REST_Request $request Full details about the request. … … 1054 1055 * Performs a couple of checks like edit_user() in wp-admin/includes/user.php. 1055 1056 * 1056 1057 * @since 4.7.0 1058 * @access public 1057 1059 * 1058 1060 * @param mixed $value The username submitted in the request. 1059 1061 * @param WP_REST_Request $request Full details about the request. … … 1083 1085 * Performs a couple of checks like edit_user() in wp-admin/includes/user.php. 1084 1086 * 1085 1087 * @since 4.7.0 1088 * @access public 1086 1089 * 1087 1090 * @param mixed $value The password submitted in the request. 1088 1091 * @param WP_REST_Request $request Full details about the request.