Skip to content

Commit 850621a

Browse files
committed
Merge branch 'trunk' into develop
2 parents 2acd0db + 5e960de commit 850621a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/3rd-party/hosting/presslabs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
add_action( 'after_rocket_clean_home', 'rocket_pl_clean_home', 10, 2 );
1212
add_action( 'after_rocket_clean_file', 'rocket_pl_clean_post', 2 );
1313
add_action( 'pl_pre_url_button_cache_refresh', 'rocket_clean_files' );
14-
add_action( 'wp_rocket_loaded', 'rocket_remove_partial_purge_hooks' );
14+
add_action( 'wp_rocket_loaded', 'rocket_pl_remove_partial_purge_hooks' );
1515

1616
/**
1717
* We clear the cache only on the post, homepage and listings when creating/updating/deleting posts.
@@ -61,7 +61,7 @@ function rocket_pl_clean_home( $root = false, $lang = false ) {
6161
*
6262
* @return void
6363
*/
64-
function rocket_remove_partial_purge_hooks() {
64+
function rocket_pl_remove_partial_purge_hooks() {
6565
// WP core action hooks rocket_clean_post() gets hooked into.
6666
$clean_post_hooks = [
6767
// Disables the refreshing of partial cache when content is edited.

0 commit comments

Comments
 (0)