mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Remove update_user_cache(). Long dead.
git-svn-id: https://develop.svn.wordpress.org/trunk@10395 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c9f38cf57
commit
17eacc240c
@ -139,21 +139,6 @@ function get_userdata( $user_id ) {
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( !function_exists('update_user_cache') ) :
|
||||
/**
|
||||
* Updates a users cache when overridden by a plugin.
|
||||
*
|
||||
* Core function does nothing.
|
||||
*
|
||||
* @since 1.5
|
||||
*
|
||||
* @return bool Only returns true
|
||||
*/
|
||||
function update_user_cache() {
|
||||
return true;
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( !function_exists('get_userdatabylogin') ) :
|
||||
/**
|
||||
* Retrieve user info by login name.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user