mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: In various @return tags, list the expected type first, instead of false or WP_Error.
Follow-up to [46696], [47060], [49926], [49927]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1537,7 +1537,7 @@ function sanitize_user_field( $field, $value, $user_id, $context ) {
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param object|WP_User $user User object or database row to be cached
|
||||
* @return false|void Returns false on failure.
|
||||
* @return void|false Returns false on failure.
|
||||
*/
|
||||
function update_user_caches( $user ) {
|
||||
if ( $user instanceof WP_User ) {
|
||||
|
||||
Reference in New Issue
Block a user