Skip to:

bbPress nonces in WP

  • Simon Wheatley


    I have a bbPress install which is sharing user tables and cookies with WordPress.

    I’m trying to create a link in bbPress which will allow my users to log out using the WordPress logout page, To do this I think I need to make a nonce in bbPress which WordPress will recognise. So far my attempts have failed. I’ve aligned the salts, hashes and keys in wp-config.php and bb-config.php.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Simon,

    Looks to me like the code in wp and bbpress says you need NONCE_KEY in wp and BB_NONCE_KEY in bbpress to match. Then the salts BB_NONCE_SALT and NONCE_SALT have to match. If the salts don’t exist, wp and bbpress generate random ones. Of course they will not match.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar