From a3ea8dcc4f11b7ada181a74bd64e4e58204f2d1c Mon Sep 17 00:00:00 2001 From: Khadreal Date: Tue, 14 Jan 2025 15:43:20 +0100 Subject: [PATCH] Fixed divi theme white screen :closes: #6736 --- inc/admin/ui/notices.php | 2 +- .../inc/ThirdParty/Themes/Divi/handleDiviAdminNotice.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/admin/ui/notices.php b/inc/admin/ui/notices.php index 136054fe29..7fc1dbe991 100755 --- a/inc/admin/ui/notices.php +++ b/inc/admin/ui/notices.php @@ -672,7 +672,7 @@ function rocket_notice_html( $args ) { break; case 'clear_used_css': $params = [ - 'action' => 'rocket_clear_usedcss', + 'action' => 'rocket_clean_saas', ]; if ( ! empty( $_SERVER['REQUEST_URI'] ) ) { diff --git a/tests/Fixtures/inc/ThirdParty/Themes/Divi/handleDiviAdminNotice.php b/tests/Fixtures/inc/ThirdParty/Themes/Divi/handleDiviAdminNotice.php index 72c1081bd8..bf1c8380ac 100644 --- a/tests/Fixtures/inc/ThirdParty/Themes/Divi/handleDiviAdminNotice.php +++ b/tests/Fixtures/inc/ThirdParty/Themes/Divi/handleDiviAdminNotice.php @@ -57,7 +57,7 @@ Your Divi template was updated. Clear the Used CSS if the layout, design or CSS styles were changed.

- + Clear Used CSS