diff --git a/wp-includes/class-wp-user.php b/wp-includes/class-wp-user.php index 20a00ff139..9b4746a034 100644 --- a/wp-includes/class-wp-user.php +++ b/wp-includes/class-wp-user.php @@ -335,11 +335,14 @@ class WP_User { } /** - * Magic method for unsetting a certain custom field + * Magic method for unsetting a certain custom field. * * @since 4.4.0 + * @access public + * + * @param string $key User meta key to unset. */ - function __unset( $key ) { + public function __unset( $key ) { if ( 'id' == $key ) { _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID instead.' ) ); $key = 'ID'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 009c1f8d33..0d3a81d12c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34389'; +$wp_version = '4.4-alpha-34390'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.