Skip to content

Commit

Permalink
Merge pull request #59 from amigoow/patch-2
Browse files Browse the repository at this point in the history
Update class-geoip.php
  • Loading branch information
raulcodes authored Oct 28, 2024
2 parents f2aa464 + 1dc1103 commit 551a6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-geoip.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function enqueue_admin_js() {
}

wp_enqueue_script( self::TEXT_DOMAIN . '-admin-js', plugins_url( 'js/admin.js', __FILE__ ), null, self::VERSION, true );
wp_localize_script( self::TEXT_DOMAIN . '-admin-js', 'nonce', wp_create_nonce( self::TEXT_DOMAIN ) );
wp_localize_script( self::TEXT_DOMAIN . '-admin-js', 'nonce', array( wp_create_nonce( self::TEXT_DOMAIN ) ) );
}

/**
Expand Down

0 comments on commit 551a6a4

Please sign in to comment.