Changeset 3151445
- Timestamp:
- 09/13/2024 02:41:39 PM (18 months ago)
- Location:
- add-customer-for-woocommerce/trunk
- Files:
-
- 4 edited
-
add-customer-for-woocommerce.php (modified) (1 diff)
-
include/classes/wac-backend.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
templates/backend/backend-options-page-main.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
add-customer-for-woocommerce/trunk/add-customer-for-woocommerce.php
r3145489 r3151445 8 8 * Contributors URL: http://dev.dans-art.ch 9 9 * Tags: woocommerce, customer, tools, helper 10 * Version: 1.9. 111 * Stable tag: 1.9. 110 * Version: 1.9.2 11 * Stable tag: 1.9.2 12 12 * 13 13 * Requires at least: 5.4.0 14 * Tested up to: 6.6. 114 * Tested up to: 6.6.2 15 15 * 16 16 * WC requires at least: 7.4.1 17 * WC tested up to: 9. 1.417 * WC tested up to: 9.3.1 18 18 * 19 19 * Requires PHP: 7.4 -
add-customer-for-woocommerce/trunk/include/classes/wac-backend.php
r3145489 r3151445 54 54 public function wac_register_settings() 55 55 { 56 56 57 global $pagenow; 57 if ( $pagenow !== 'admin.php' || !isset( $_GET['page'] ) || $_GET['page'] !== 'wac_general_options' ) { 58 return true; 58 if($pagenow !== 'admin.php' && $pagenow !== 'options.php' ) { 59 return false; 60 } 61 if (!isset( $_REQUEST['page'] ) || $_REQUEST['page'] !== 'wac_general_options' ) { 62 return false; 59 63 } 60 64 $wac = new woo_add_customer(); -
add-customer-for-woocommerce/trunk/readme.txt
r3145489 r3151445 6 6 Tags: woocommerce, customer, tools, helper 7 7 Requires at least: 5.4.0 8 Tested up to: 6.6. 19 Stable tag: 1.9. 18 Tested up to: 6.6.2 9 Stable tag: 1.9.2 10 10 License: GPLv3 or later 11 11 License URI: <http://www.gnu.org/licenses/gpl-2.0.html> … … 92 92 93 93 == Changelog == 94 95 = [1.9.2] 2024-09-13 = 96 * Fixed: Options could not be saved (Error: The wac_general_options options page is not in the allowed options list.) 94 97 95 98 = [1.9.1] 2024-08-29 = -
add-customer-for-woocommerce/trunk/templates/backend/backend-options-page-main.php
r3018374 r3151445 15 15 16 16 <form id='wac_options_page' action="options.php" method="post" enctype="multipart/form-data"> 17 <input type="hidden" name="page" value="wac_general_options"/> 17 18 <?php 18 19 19 settings_fields('wac_general_options'); 20 20 do_settings_sections('wac_general_options');
Note: See TracChangeset
for help on using the changeset viewer.