Docs: Various docblock corrections.

See #51800


git-svn-id: https://develop.svn.wordpress.org/trunk@49789 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-12-10 23:51:52 +00:00
parent 6267e412f1
commit 81b89682c3
8 changed files with 25 additions and 22 deletions
+2 -1
View File
@@ -306,7 +306,8 @@ function wp_authenticate_cookie( $user, $username, $password ) {
* callback failed authentication.
* @param string $username Username for authentication.
* @param string $password Password for authentication.
* @return WP_User|WP_Error WP_User on success, WP_Error on failure.
* @return WP_User|WP_Error|null WP_User on success, WP_Error on failure, null if
* null is passed in and this isn't an API request.
*/
function wp_authenticate_application_password( $input_user, $username, $password ) {
if ( $input_user instanceof WP_User ) {