Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

Stefan

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 17, 2023 at 8:56 am in reply to: How to use the REST query to verify a member? #25963
    Stefan
    Participant

    [Solved] The problems were added backslashes in the query result, so it didn’t match the database content. Processing the result through stripslashes() did the job. Thanks again.

    April 17, 2023 at 7:58 am in reply to: How to use the REST query to verify a member? #25962
    Stefan
    Participant

    Thank you – but I don’t suppose so. The code there is identical with the wp_create_hash()-example (using HashPassword() of a PasswordHash instance with (8,true) – and it produces something different from the password field of the query result.

    April 16, 2023 at 8:07 pm in reply to: How to use the REST query to verify a member? #25957
    Stefan
    Participant

    It comes down to the question what exactly the password (hash) in the query result is coming from.

    If I take a random password, hash it with wp_create_password() and immediately check it with wp_check_password(), the result is true. So far, so good 🙂

    If I create a new user with the password “123456789”, the query produces a result. If I check that with wp_check_password(), the result is false.

    So far I see two possible reasons:

    1. The passwords by Simple Membership haven’t been created on the column “password” but on something else…

    2. The passwords by Simple Membership haven’t been created by a wp_create_password() call…

    3. The code behind wp_check_password() in my test environment is not the same as used in my WordPress installation (unlikely since this framework code hasn’t been the subject to changes for a long time).

    Any ideas?

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy