From d093242095902909f85fd1bdebac69de19048a2b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 22 Sep 2015 04:56:24 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-user.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-user.php b/wp-includes/class-wp-user.php index 2fa64c25fb..5d57a996ff 100644 --- a/wp-includes/class-wp-user.php +++ b/wp-includes/class-wp-user.php @@ -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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index ec999d6e08..07ee898183 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.