mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: In various @return tags, list the expected type first, instead of WP_Error.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -129,7 +129,7 @@ class WP_REST_Server {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param WP_Error|null|bool WP_Error if authentication error, null if authentication
|
||||
* @param WP_Error|null|true WP_Error if authentication error, null if authentication
|
||||
* method wasn't used, true if authentication succeeded.
|
||||
*/
|
||||
return apply_filters( 'rest_authentication_errors', null );
|
||||
|
||||
Reference in New Issue
Block a user