Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge Cache link in admin bar issues #89

Closed
rawcreative opened this issue Jun 9, 2015 · 1 comment
Closed

Purge Cache link in admin bar issues #89

rawcreative opened this issue Jun 9, 2015 · 1 comment

Comments

@rawcreative
Copy link

The Purge cache in the admin bar currently does not work, as it is outputting the url with the & on the nonce escaped:
/wp-admin/edit.php#038;action=edit&message=1&nginx_helper_action=purge&nginx_helper_urls=all

This is because in admin.php, the $purge_url variable is ran through esc_url, before passing it to wp_nonce_url, which also escapes html.
https://github.com/rtCamp/nginx-helper/blob/master/admin/admin.php#L121-L122

@rahul286
Copy link
Member

I hope recent release fixes this.
We have verified it with redis-cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants