The resolution is pretty simply. Those functions require the passwords to be properly escaped. So
Instead of this:
wp_set_password('Test"123', $userId);
You have to do this:
wp_set_password(wp_slash('Test"123'), $userId);
The same goes for wp_update_user()
and wp_signon()
. Further information and updates on the docs may be visible from this bug report:
Related Posts:
- wp_insert_user() function password never match
- Can someone explain what wp_session_tokens are, and what are they used for?
- Init action hook running late after PayPal’s return url?
- How to check WordPress website username and password is correct
- Log in from one wordpress website to another wordpress website
- What are the default WordPress password requirements?
- Two-step login process – Is it possible?
- How to use wp_set_password in a plugin?
- How do I approach removing menu items on the fly based on settings in my plugin?
- WordPress password reset – why post rp_key?
- Is there any way to check for user login and send him to login?
- Proper way to pass credentials in a custom login form to avoid “headers already sent”
- External Authentication, session_tokens not destroyed on logout
- Verify if user is wordpress logged in from another app since wordpress 4.0
- How to customize login process
- Does wp_login only trigger before an user signs in into the admin panel?
- Logout users upon login, based on caps/role?
- Is it possible to make sure that only my plugins output is shown to the enduser?
- Password field is empty when using wp_signon();
- Plugin Development for registered users
- Enqueue script globally
- WP Multisite login not working on one subsite. Possibly cookies/ history issue?
- Add Password Generator on password protected page
- How to get all product in the woo-commerce? [closed]
- How do I validate extra pin field on my WordPress login form page?
- How to redirect home page to another page after login for all user?
- How can I save a password securely as a settings field
- How to share user data across multiple WordPress websites?
- Using password protection to load different page elements?
- Allowing duplicating users with same user_login and user_email
- How to Login a User inside a Plugin and Redirect to page?
- Using custom IDP with WP
- Hiding the WordPress login and password fields from login page
- WordPress Reset password Strength set to medium
- redirect_to how to make it simply work with get parameter or similar?
- Use content filter on the post that is password-protected
- Multiple Users Logged In Causing Incorrect Account Returned
- Get user logged in status from within a plugin. $current_user not defined
- Need edit profile link in the menu for logged in users
- Create a Custom Login System in WordPress [closed]
- how can I insert a link on login page
- user can login from single account detail from multiple locations(computer) at the same time [closed]
- Send retrieve password notification email with custom HTML email template
- Default table collation on plugin activation?
- How to auto-upgrade my plugin?
- A Post is saved twice or more during add_action(save_post)
- Problem creating cron job wordpress
- Hook event for upload image in the menu
- Making a custom widget that includes a tinymce and works in Site Origin Page Builder
- How to use mysql IN statement with wpdb update method?
- Bridge WordPress Media API with custom tinyMCE plugin [closed]
- What’s the better way to add an inline script?
- Adding JS function as third parameter in do_action
- How to assign a WP 3.0 custom nav menu to a theme’s navigation menu location via script?
- is_page() function doesnt working
- Order properties should not be accessed directly
- How to avoid loading same script twice?
- Where to store the name of a custom table?
- Backbone event attachment:compat:ready can’t hook
- Add a class to a dynamic sidebar’s wrapper
- Upgrade private plugin without deleting files?
- Is there some way to provide the user a list of existing content in a CPT
- Issue with querying
- how to search users by ajax live search
- Is this best practice for Dynamically adding items to WordPress menus?
- There is a problem in the gutenberg block I developed. Problem is with withInstanceId
- Detect front-end pages only in init hook
- best way to make a WordPresss multisite that is secure but at the same time supporting my plugin development efforts
- How to change title tag at page after loaded post?
- WordPress custom taxonomy check box to dropdown
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?
- Fatal error: Call to a member function get_page_permastruct() on a non-object
- Naming conventions when using (PHP5) namespaces?
- Which is the better way to store images for the plugin?
- Readme.txt seems to be cached but not the version
- Issue on Checkbox with Custom Option Page
- configuration of .htaccess for add_rewrite_rule to make sense
- How to get post meta in functions?
- Plugin access to average users not only admin
- Rewrite not working since upgrade to 5.9
- How to display plugin with javascript using markup of the theme?
- Can display plugin without shortcode?
- ACF Field value in wordpress login message filter
- Hook for validating and rejecting frontend image upload
- Plugin removes itself if mistake made during edit
- Using meta_key & meta_value in add_rewrite_rule
- Can’t create a blank template
- Custom Registration Form and Passwords
- WP Ajax on page load not working on bluehost but was working on Godaddy
- Fullwidth slider using background image Flexslider WordPress
- Is there a way to tell if a shorcode’s handler is being run before or after the content formatting filter?
- Plugin files not updated (cache cleared)
- How to create an embedded code for wordpress shortcode?
- How to add additional field in a table row after creating a table?
- WordPress plugin tables become corrupt
- How can i call from custom fields to the category editor?
- How do you filter get_media_items by mime type in a custom media upload tab?
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- Is it smart to require_once wp-admin/includes/plugin.php when you need only one function from it