Skip to content

Commit

Permalink
https://github.com/thehcginstitute-com/wp/issues/15
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Dec 28, 2023
1 parent b6f11b0 commit e1fa583
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wp-content/plugins/wp-rocket/inc/functions/files.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,6 @@ function rocket_clean_domain( $lang = '', $filesystem = null ) {
if ( empty( $filesystem ) ) {
$filesystem = rocket_direct_filesystem();
}

foreach ( $urls as $url ) {
$parsed_url = get_rocket_parse_url( $url );

Expand Down Expand Up @@ -781,6 +780,13 @@ function rocket_clean_domain( $lang = '', $filesystem = null ) {
* @param string $url The home url.
*/
do_action( 'after_rocket_clean_domain', $root, $lang, $url ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals
# 2023-12-28 Dmitrii Fediuk https://upwork.com/fl/mage2pro
# 1) "«Error: No cache files are cleared» on `wp rocket clean`":
# https://github.com/thehcginstitute-com/wp/issues/15
# 2) "How did I fix «Error: No cache files are cleared» on `wp rocket clean`?": https://df.tips/t/2093
# 3) https://github.com/wp-media/wp-rocket-cli/blob/v1.3/command.php#L283-L295
# 4) https://github.com/wp-media/wp-rocket/blob/v3.15.5/inc/functions/files.php#L892-L892
return true;
}
}

Expand Down

0 comments on commit e1fa583

Please sign in to comment.