From 5046ef73c30d8298ecc4b8d11dc4d5ced0340c0b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Sep 2017 13:14:45 +0000 Subject: [PATCH] Docs: Correct description for `insert_user_meta` filter. Props milana_cap, desrosj. Fixes #41951. Built from https://develop.svn.wordpress.org/trunk@41564 git-svn-id: http://core.svn.wordpress.org/trunk@41397 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index f648d9b1f9..73a5fab469 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1699,7 +1699,8 @@ function wp_insert_user( $userdata ) { $user = new WP_User( $user_id ); /** - * Filters a user's meta values and keys before the user is created or updated. + * Filters a user's meta values and keys immediately after the user is created or updated + * and before any user meta is inserted or updated. * * Does not include contact methods. These are added using `wp_get_user_contact_methods( $user )`. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 9c62fb4481..9097909683 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41563'; +$wp_version = '4.9-alpha-41564'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.