Clear Used CSS button in Divi notice results in white screen
Before submitting an issue please check that you’ve completed the following steps:
- 3.16.1
- Used the search feature to ensure that the bug hasn’t been reported before
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:
- Make sure Remove Unused CSS is enabled
- Go to Divi → Theme Builder
- Edit the Global Header
- After exiting the Divi builder, you'll see the admin notice - click the button
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
Rel case here: https://secure.helpscout.net/conversation/2660869953/504318/ Told customer to use the regular Clear Used CSS button in the time being
New related ticket : https://secure.helpscout.net/conversation/2668080932/505622?folderId=8127840
Related: https://secure.helpscout.net/conversation/2680002754/507683/
New related ticket: https://secure.helpscout.net/conversation/2695829620/#thread-8122122577
Related: https://secure.helpscout.net/conversation/2709860300/512676
another one: https://secure.helpscout.net/conversation/2711401348/512969?folderId=377611
another case: https://secure.helpscout.net/conversation/2738349785
Related case: https://secure.helpscout.net/conversation/2738947001/518676/
Related case here: https://secure.helpscout.net/conversation/2744441169/519688?folderId=8127831
Related: https://secure.helpscout.net/conversation/2750392370/520730/
Related: https://secure.helpscout.net/conversation/2755370321/521621/
https://secure.helpscout.net/conversation/2765289052/523737?viewId=377611
Related: https://secure.helpscout.net/conversation/2809247905/533260/
Related: https://secure.helpscout.net/conversation/2814561796/534139
https://secure.helpscout.net/conversation/2816265521/534469?viewId=377611
Greetings!
I keep receiving these notifications but am restricted from reviewing the status of this issue. What is the final outcome?
Thank you, Heather
------ Original Message ------ From "WordPress Fan" @.> To "wp-media/wp-rocket" @.> Cc "toad78" @.>; "Manual" @.> Date 1/27/2025 9:03:39 AM Subject Re: [wp-media/wp-rocket] Clear Used CSS button in Divi notice results in white screen (Issue #6736)
Closed #6736 https://github.com/wp-media/wp-rocket/issues/6736 as completed via #7227 https://github.com/wp-media/wp-rocket/pull/7227.
— Reply to this email directly, view it on GitHub https://github.com/wp-media/wp-rocket/issues/6736#event-16081156426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3J4ERM6CL7TFXQUDJJMSD2MZRGXAVCNFSM6AAAAABJW6GSQCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJWGA4DCMJVGY2DENQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>