Skip to content

Commit

Permalink
Merge pull request #453 from angelleye/OFW-162
Browse files Browse the repository at this point in the history
Remove duplicate wp_nonce_field, OFW-162
  • Loading branch information
deepakmaurya authored Jun 30, 2020
2 parents 89ed7a4 + 1ddb2a2 commit c9a4b2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions admin/class-offers-for-woocommerce-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1336,9 +1336,6 @@ public function add_meta_box_offer_summary_callback($post) {
$offers_product_addon = get_post_meta($post->ID, 'offers_product_addon', true);
/* end */

// Add an nonce field so we can check for it later.
wp_nonce_field('woocommerce_offer_summary_metabox', 'woocommerce_offer_summary_metabox_noncename');

/*
* Use get_post_meta() to retrieve an existing value
* from the database and use the value for the form.
Expand Down

0 comments on commit c9a4b2c

Please sign in to comment.