CSRF Token not found After Updating Wordfence
-
Ever since I updated wordfence to 6.3.2 all my sites are getting
CSRF Token not found. Its possible another plugin is altering requests sent by the Cloudflare plugin.
Whenever I make any change in the cloudflare plugin.
I posted in the Wordfence forum and got this response from their team –
3.) You can post on the CloudfFlare plugin forum asking them to change their getJSONBody() function to use $HTTP_RAW_POST_DATA and fall back to php://input if it’s empty, like WordPress does in their get_raw_data() function here:
https://core.trac.www.ads-software.com/browser/tags/4.7.2/src/wp-includes/rest-api/class-wp-rest-server.php#L1261
This would be a permanent solution for sites with older PHP versions, if they include it in their next plugin update.any chance you ppl can implement what they’re saying ? since a ton of people use this plugin along with wordfence. Thanks.
- The topic ‘CSRF Token not found After Updating Wordfence’ is closed to new replies.