Plugin Directory

Changeset 3247960


Ignore:
Timestamp:
02/27/2025 03:42:41 PM (13 months ago)
Author:
wpxteam
Message:

v1.7.2: * Security: Checked codebase. * Compatibility: WooCommerce 9.7.

Location:
product-variant-table-for-woocommerce
Files:
51 added
5 edited

Legend:

Unmodified
Added
Removed
  • product-variant-table-for-woocommerce/trunk/inc/admin/class_pvtfw_form.php

    r3147192 r3247960  
    324324
    325325                //In our file that handles the request, verify the nonce.
    326                 if ( isset( $_REQUEST['_wpnonce'] ) && ! wp_verify_nonce( sanitize_key( wp_unslash( $_REQUEST['_wpnonce'] ) ), 'pvtfw-reset-column-settings' ) ) {
    327                     die( esc_html__( 'Security check', 'product-variant-table-for-woocommerce' ) );
    328                 } else {
    329                    
     326                if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( sanitize_key( wp_unslash( $_GET['_wpnonce'] ) ), 'pvtfw-reset-column-settings' ) ) {
    330327                    delete_option('pvtfw_variant_table_columns');
    331328                    update_option('pvtfw_variant_table_tab', '');
    332329                    wp_safe_redirect( admin_url( 'admin.php?page=pvtfw_variant_table' ) );
    333330                    exit();
     331                     
     332                } else {
     333                   
     334                    die( esc_html__( 'Security check', 'product-variant-table-for-woocommerce' ) );
    334335
    335336                }
     
    352353
    353354                //In our file that handles the request, verify the nonce.
    354                 if ( isset( $_REQUEST['_wpnonce'] ) && ! wp_verify_nonce( sanitize_key( wp_unslash( $_REQUEST['_wpnonce'] ) ), 'pvtfw-reset-all-settings' ) ) {
    355                     die( esc_html__( 'Security check', 'product-variant-table-for-woocommerce' ) );
    356                 } else {
    357                    
     355                if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( sanitize_key( wp_unslash( $_GET['_wpnonce'] ) ), 'pvtfw-reset-all-settings' ) ) {
    358356                    $free_options_array = PVTFW_COMMON::plugin_options();
    359357
     
    372370                    wp_safe_redirect( admin_url( 'admin.php?page=pvtfw_variant_table' ) );
    373371                    exit();
    374 
     372                } else {
     373                   
     374                    die( esc_html__( 'Security check', 'product-variant-table-for-woocommerce' ) );
    375375                }
    376376
  • product-variant-table-for-woocommerce/trunk/inc/admin/class_pvtfw_settings.php

    r3238050 r3247960  
    5757            if ( ! current_user_can( 'manage_options' ) ) {
    5858                return;
     59            }
     60            // Checking nonce of option page form submission
     61            if ( isset($_POST['action']) && !wp_verify_nonce( sanitize_key( wp_unslash( 'action', 'action' ) ) ) ){
     62                wp_die();
    5963            }
    6064           
  • product-variant-table-for-woocommerce/trunk/languages/product-variant-table-for-woocommerce.pot

    r3245832 r3247960  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: PVT - Product Variation Table for WooCommerce 1.7.1\n"
     5"Project-Id-Version: PVT - Product Variation Table for WooCommerce 1.7.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/product-variant-table-for-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-02-24T06:24:54+00:00\n"
     12"POT-Creation-Date: 2025-02-27T05:07:47+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.11.0\n"
    1515"X-Domain: product-variant-table-for-woocommerce\n"
    1616
     
    155155
    156156#: inc/admin/class_pvtfw_form.php:251
    157 #: inc/admin/class_pvtfw_settings.php:115
     157#: inc/admin/class_pvtfw_settings.php:119
    158158msgid "Are you sure to reset?"
    159159msgstr ""
     
    202202msgstr ""
    203203
    204 #: inc/admin/class_pvtfw_settings.php:81
     204#: inc/admin/class_pvtfw_settings.php:85
    205205#: product-variant-table-for-woocommerce.php:416
    206206msgid "Settings"
    207207msgstr ""
    208208
    209 #: inc/admin/class_pvtfw_settings.php:83
     209#: inc/admin/class_pvtfw_settings.php:87
    210210msgid "Layout"
    211211msgstr ""
    212212
    213 #: inc/admin/class_pvtfw_settings.php:114
     213#: inc/admin/class_pvtfw_settings.php:118
    214214msgid "Save Settings"
    215215msgstr ""
    216216
    217 #: inc/admin/class_pvtfw_settings.php:115
     217#: inc/admin/class_pvtfw_settings.php:119
    218218msgid "Reset All"
    219219msgstr ""
  • product-variant-table-for-woocommerce/trunk/product-variant-table-for-woocommerce.php

    r3245832 r3247960  
    88Text Domain: product-variant-table-for-woocommerce
    99Domain Path: /languages
    10 Version: 1.7.1
     10Version: 1.7.2
    1111Requires at least: 4.7.0
    1212Requires PHP: 5.6.20
    1313WC requires at least: 3.0.0
    14 WC tested up to: 9.6
     14WC tested up to: 9.7
    1515License: GPLv2 or later
    1616License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333 */
    3434
    35 define("PVTFW_VARIANT_TABLE_VERSION", '1.7.1');
     35define("PVTFW_VARIANT_TABLE_VERSION", '1.7.2');
    3636define("PVTFW_REQUIRED_PRO_VERSION", '1.7.0');
    3737define("PVTFW_DIR", plugin_dir_path(__FILE__) );
  • product-variant-table-for-woocommerce/trunk/readme.txt

    r3245832 r3247960  
    55Tested up to: 6.7
    66Requires PHP: 5.6.20
    7 Stable tag: 1.7.1
     7Stable tag: 1.7.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    179179== Changelog ==
    180180
    181 = 1.7.1 [24-02-2025] Monday =
    182 * Update: CSS and checked with autoprefixers.
     181= 1.7.2 [27-02-2025] Thursday =
     182* Security: Checked codebase.
     183* Compatibility: WooCommerce 9.7.
    183184
    184185[See changelog for all versions.](https://github.com/WPXtension/product-variation-table-for-woocommerce/blob/main/changelog-free.md)
Note: See TracChangeset for help on using the changeset viewer.