Changeset 2869685
- Timestamp:
- 02/23/2023 12:02:18 AM (3 years ago)
- Location:
- etsy-shop/trunk
- Files:
-
- 2 edited
-
etsy-shop.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
etsy-shop/trunk/etsy-shop.php
r2869106 r2869685 9 9 Author: Frédéric Sheedy 10 10 Text Domain: etsy-shop 11 Version: 3.0. 311 Version: 3.0.4 12 12 */ 13 13 … … 36 36 */ 37 37 38 define( 'ETSY_SHOP_VERSION', '3.0. 3' );38 define( 'ETSY_SHOP_VERSION', '3.0.4' ); 39 39 define( 'ETSY_SHOP_CACHE_PREFIX', 'etsy_shop_cache_' ); 40 40 … … 561 561 $quick_start_update = false; 562 562 if ( isset( $_POST['submitQuickstart'] ) ) { 563 // Nonces Verification 564 check_admin_referer( 'etsy-shop-settings-quickstart' ); 565 563 566 // did the user enter an shop name? 564 567 if ( isset( $_POST['etsy_shop_quickstart_shop_id'] ) ) { … … 665 668 <br><div class="etsty-shop-quickstart-step"><?php _e( 'STEP 2', 'etsy-shop' ); ?></div><span style="margin-top: 8px;font-weight: bold;"><?php _e( 'What is your Shop name on etsy?', 'etsy-shop' ); ?></span> 666 669 <input id="etsy_shop_quickstart_shop_id" name="etsy_shop_quickstart_shop_id" type="text" size="25" value="<?php echo get_option( 'etsy_shop_quickstart_shop_id' ); ?>" class="regular-text code" /> 670 <?php wp_nonce_field( 'etsy-shop-settings-quickstart' ); ?> 667 671 <input type="submit" name="submitQuickstart" id="submitQuickstart" class="button-primary" value="<?php _e( 'Search', 'etsy-shop' ); ?>" /> 668 672 </form> -
etsy-shop/trunk/readme.txt
r2869106 r2869685 5 5 Tested up to: 6.1.1 6 6 Requires at least: 5.0 7 Stable tag: 3.0. 37 Stable tag: 3.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 85 86 86 == Changelog == 87 88 = 3.0.4 = 89 * Use Nonces for Quick Start, to prevent CSRF 87 90 88 91 = 3.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.