Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
pschoffer committed Dec 16, 2020
1 parent 3e15d96 commit 0e40826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vip-cache-manager/vip-cache-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function button_enqueue_scripts() {
wp_enqueue_script( 'purge-page-cache-btn', plugins_url( '/js/admin-bar.js', __FILE__ ), [], '1.1', true );
wp_localize_script( 'purge-page-cache-btn', 'VIPPageFlush', [
'nonce' => wp_create_nonce( 'purge-page' ),
'ajaxurl' => add_query_arg( [ 'action' => 'vip_purge_page_cache' ], admin_url( 'admin-ajax.php' ),
'ajaxurl' => add_query_arg( [ 'action' => 'vip_purge_page_cache' ], admin_url( 'admin-ajax.php' ),
),
] );
}
Expand Down

0 comments on commit 0e40826

Please sign in to comment.