diff --git a/wp-includes/class-wp-user-query.php b/wp-includes/class-wp-user-query.php index c5d66404ea..b8b4733cf0 100644 --- a/wp-includes/class-wp-user-query.php +++ b/wp-includes/class-wp-user-query.php @@ -1122,7 +1122,8 @@ class WP_User_Query { return $this->$name; } - trigger_error( + wp_trigger_error( + __METHOD__, "The property `{$name}` is not declared. Getting a dynamic property is " . 'deprecated since version 6.4.0! Instead, declare the property on the class.', E_USER_DEPRECATED @@ -1145,7 +1146,8 @@ class WP_User_Query { return; } - trigger_error( + wp_trigger_error( + __METHOD__, "The property `{$name}` is not declared. Setting a dynamic property is " . 'deprecated since version 6.4.0! Instead, declare the property on the class.', E_USER_DEPRECATED @@ -1166,7 +1168,8 @@ class WP_User_Query { return isset( $this->$name ); } - trigger_error( + wp_trigger_error( + __METHOD__, "The property `{$name}` is not declared. Checking `isset()` on a dynamic property " . 'is deprecated since version 6.4.0! Instead, declare the property on the class.', E_USER_DEPRECATED @@ -1188,7 +1191,8 @@ class WP_User_Query { return; } - trigger_error( + wp_trigger_error( + __METHOD__, "A property `{$name}` is not declared. Unsetting a dynamic property is " . 'deprecated since version 6.4.0! Instead, declare the property on the class.', E_USER_DEPRECATED diff --git a/wp-includes/version.php b/wp-includes/version.php index be39296887..cad6a79890 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56542'; +$wp_version = '6.4-alpha-56543'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.