We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a270388 commit 257be95Copy full SHA for 257be95
admin/class-nginx-helper-admin.php
@@ -688,7 +688,7 @@ public function purge_all() {
688
$current_url = esc_url_raw( user_trailingslashit( home_url( $wp->request ) ) );
689
690
if ( ! is_admin() ) {
691
- $action = 'purge_single_page';
+ $action = 'purge_current_page';
692
$redirect_url = $current_url;
693
} else {
694
$redirect_url = add_query_arg( array( 'nginx_helper_action' => 'done' ) );
@@ -698,7 +698,7 @@ public function purge_all() {
698
case 'purge':
699
$nginx_purger->purge_all();
700
break;
701
- case 'purge_single_page':
+ case 'purge_current_page':
702
$nginx_purger->purge_url( $current_url );
703
704
}
0 commit comments