Users: clarify the docs for WP_User::__set
to make it clear that it does save data in the database.
Props johnpbloch. Fixes #24255. git-svn-id: https://develop.svn.wordpress.org/trunk@34379 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
40b5ade751
commit
3f8f3ccff0
@ -305,6 +305,9 @@ class WP_User {
|
||||
/**
|
||||
* Magic method for setting custom user fields.
|
||||
*
|
||||
* This method does not update custom fields in the database. It only stores
|
||||
* the value on the WP_User instance.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @access public
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user