Skip to content

Commit

Permalink
Merge branch 'trunk' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrisrp committed Jul 25, 2022
2 parents 2acd0db + 5e960de commit 850621a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/3rd-party/hosting/presslabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
add_action( 'after_rocket_clean_home', 'rocket_pl_clean_home', 10, 2 );
add_action( 'after_rocket_clean_file', 'rocket_pl_clean_post', 2 );
add_action( 'pl_pre_url_button_cache_refresh', 'rocket_clean_files' );
add_action( 'wp_rocket_loaded', 'rocket_remove_partial_purge_hooks' );
add_action( 'wp_rocket_loaded', 'rocket_pl_remove_partial_purge_hooks' );

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

0 comments on commit 850621a

Please sign in to comment.