Plugin Directory

Changeset 3151445


Ignore:
Timestamp:
09/13/2024 02:41:39 PM (18 months ago)
Author:
dansart
Message:

Update 1.9.2

Location:
add-customer-for-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • add-customer-for-woocommerce/trunk/add-customer-for-woocommerce.php

    r3145489 r3151445  
    88 * Contributors URL: http://dev.dans-art.ch
    99 * Tags: woocommerce, customer, tools, helper
    10  * Version: 1.9.1
    11  * Stable tag: 1.9.1
     10 * Version: 1.9.2
     11 * Stable tag: 1.9.2
    1212 *
    1313 * Requires at least: 5.4.0
    14  * Tested up to: 6.6.1
     14 * Tested up to: 6.6.2
    1515 *
    1616 * WC requires at least: 7.4.1
    17  * WC tested up to: 9.1.4
     17 * WC tested up to: 9.3.1
    1818 *
    1919 * Requires PHP: 7.4
  • add-customer-for-woocommerce/trunk/include/classes/wac-backend.php

    r3145489 r3151445  
    5454    public function wac_register_settings()
    5555    {
     56
    5657        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;
    5963        }
    6064        $wac = new woo_add_customer();
  • add-customer-for-woocommerce/trunk/readme.txt

    r3145489 r3151445  
    66Tags: woocommerce, customer, tools, helper
    77Requires at least: 5.4.0
    8 Tested up to: 6.6.1
    9 Stable tag: 1.9.1
     8Tested up to: 6.6.2
     9Stable tag: 1.9.2
    1010License: GPLv3 or later
    1111License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
     
    9292
    9393== 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.)
    9497
    9598= [1.9.1] 2024-08-29 =
  • add-customer-for-woocommerce/trunk/templates/backend/backend-options-page-main.php

    r3018374 r3151445  
    1515
    1616<form id='wac_options_page' action="options.php" method="post" enctype="multipart/form-data">
     17    <input type="hidden" name="page" value="wac_general_options"/>
    1718    <?php
    18 
    1919    settings_fields('wac_general_options');
    2020    do_settings_sections('wac_general_options');
Note: See TracChangeset for help on using the changeset viewer.