Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest WP Update (4.9.2) changes user-new.php file. #1132

Open
crazycoolcam opened this issue Jan 16, 2018 · 3 comments

Comments

Projects
None yet
5 participants
@crazycoolcam
Copy link

commented Jan 16, 2018

EXPLANATION OF THE ISSUE

My site just upgraded to 4.9.2 but s2member's patches could not verify one file:
-->Your /wp-admin/user-new.php file could NOT be patched. Unverifiable.

The line s2member is expecting is:
wpmu_signup_user( $new_user_login, $_REQUEST[ 'email' ], array( 'add_to_blog' => $wpdb->blogid, 'new_role' => $_REQUEST[ 'role' ] ) );

The line has now been changed to read:
wpmu_signup_user( $new_user_login, $new_user_email, array( 'add_to_blog' => get_current_blog_id(), 'new_role' => $_REQUEST['role'] ) );

Please update the search script to account for this change. I'd love to see this file patched automatically again. Thanks!

@scortillion

This comment has been minimized.

Copy link

commented Apr 29, 2018

I just upgraded to WP 4.9.5 I get the same error. Plus I cannot add new users from the Super Admin account. What gives?

@OlafDammann

This comment has been minimized.

Copy link

commented Apr 30, 2019

Any news on this one? I see exactly the same error on WP5.1.1MS

@crazycoolcam

This comment has been minimized.

Copy link
Author

commented Apr 30, 2019

This is still an open issue from what I can tell.

Not sure what happened with it but the lastest official word I've received on this can be found on this thread.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.