Skip to content

Commit

Permalink
Remove unused nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Dec 10, 2024
1 parent 5d7097b commit 5e076a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Admin/AdminBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function add_imagify_admin_bar_menu( $wp_admin_bar ) {
$wp_admin_bar->add_menu( array(
'parent' => 'imagify',
'id' => 'imagify-upgrade-plan',
'title' => wp_nonce_field( 'imagify-get-admin-bar-pricing' ) . '<div id="wp-admin-bar-imagify-pricing-content" class="hide-if-no-js"></div>',
'title' => '<div id="wp-admin-bar-imagify-pricing-content" class="hide-if-no-js"></div>',
) );

$wp_admin_bar->add_menu( array(
Expand Down

0 comments on commit 5e076a6

Please sign in to comment.