-
Notifications
You must be signed in to change notification settings - Fork 227
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
Clear Used CSS button in Divi notice results in white screen #6736
Comments
Rel case here: https://secure.helpscout.net/conversation/2660869953/504318/ |
New related ticket : https://secure.helpscout.net/conversation/2668080932/505622?folderId=8127840 |
New related ticket: https://secure.helpscout.net/conversation/2695829620/#thread-8122122577 |
another case: https://secure.helpscout.net/conversation/2738349785 |
Related case here: https://secure.helpscout.net/conversation/2744441169/519688?folderId=8127831 |
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
When using Remove Unused CSS with Divi, we show an admin notice in some cases, to prompt the user to clear the Used CSS:
https://jmp.sh/9Oe3GtLW
But, the purge link is malformed, therefore does not work:
https://mega.wp-rocket.me/wp-admin/admin-post.php?_wpnonce=f9b9e8d279&action=rocket_clear_usedcss&_wp_http_referer=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s
Note the nonce inserted in the middle.
Can be reproduced on Mega.
The customer sees a white screen after clicking the button.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The button should correctly purge the CSS and reload the page
Screenshots
https://jmp.sh/RGSRl0UH
Additional context
Tickets:
https://secure.helpscout.net/conversation/2628657922/497943?folderId=273766
https://secure.helpscout.net/conversation/2624405455/497101/#thread-7897077980
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
The text was updated successfully, but these errors were encountered: