Skip to content

Commit 606c91f

Browse files
committed
Revert user.php change, update composer.json
1 parent b8914ac commit 606c91f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wordpress/wordpress",
3-
"version": "6.9.0",
3+
"version": "7.0.0",
44
"license": "GPL-2.0-or-later",
55
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
66
"homepage": "https://wordpress.org",

src/wp-includes/user.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,8 +2521,6 @@ function wp_insert_user( $userdata ) {
25212521
$user = new WP_User( $user_id );
25222522

25232523
if ( ! $update ) {
2524-
$old_user_data = new WP_User();
2525-
25262524
/** This action is documented in wp-includes/pluggable.php */
25272525
do_action( 'wp_set_password', $userdata['user_pass'], $user_id, $user );
25282526
}

0 commit comments

Comments
 (0)