mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
Docs: Remove extra spaces in various REST API DocBlocks.
See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@46069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1122,9 +1122,9 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param mixed $value The username submitted in the request.
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
* @param string $param The parameter name.
|
||||
* @param mixed $value The username submitted in the request.
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
* @param string $param The parameter name.
|
||||
* @return WP_Error|string The sanitized username, if valid, otherwise an error.
|
||||
*/
|
||||
public function check_username( $value, $request, $param ) {
|
||||
@@ -1151,9 +1151,9 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param mixed $value The password submitted in the request.
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
* @param string $param The parameter name.
|
||||
* @param mixed $value The password submitted in the request.
|
||||
* @param WP_REST_Request $request Full details about the request.
|
||||
* @param string $param The parameter name.
|
||||
* @return WP_Error|string The sanitized password, if valid, otherwise an error.
|
||||
*/
|
||||
public function check_user_password( $value, $request, $param ) {
|
||||
|
||||
Reference in New Issue
Block a user