Users: clarify the docs for `WP_User::__set` to make it clear that it does save data in the database.
Props johnpbloch. Fixes #24255. Built from https://develop.svn.wordpress.org/trunk@34379 git-svn-id: http://core.svn.wordpress.org/trunk@34343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa8c76258a
commit
d093242095
|
@ -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
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34378';
|
||||
$wp_version = '4.4-alpha-34379';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue