Skip to content

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

@crazycoolcam

Description

@crazycoolcam

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions