Plugin Directory

Changeset 3098816


Ignore:
Timestamp:
06/06/2024 04:42:49 PM (22 months ago)
Author:
theritesites
Message:

1.5.3

Location:
woo-cost-of-shipping/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woo-cost-of-shipping/trunk/README.txt

    r3094078 r3098816  
    5959
    6060== Changelog ==
     61
     62= 1.5.3 =
     63- Fixed: Changed how conditional was checked to prevent debug potentially crashing administrative screen.
    6164
    6265= 1.5.2 =
  • woo-cost-of-shipping/trunk/includes/admin/class-wc-cos-admin-orders.php

    r3094078 r3098816  
    106106        global $pagenow;
    107107        global $post_type;
    108 
    109         if ( ( $pagenow == 'post.php' && $post_type == 'shop_order' ) || ( isset( $_GET['page'] ) && $pagenow == 'admin.php' && $_GET['page'] == 'wc-orders' ) ) {
     108        $admin_page = isset( $_GET['page'] ) ? $_GET['page'] : '';
     109
     110        if ( ( $pagenow == 'post.php' && $post_type == 'shop_order' ) || ( $admin_page == 'wc-orders' && $pagenow == 'admin.php' ) ) {
    110111
    111112            $js_file = '';
     
    139140        global $pagenow;
    140141        global $post_type;
    141         $admin_page = $_GET['page'];
     142        $admin_page = isset( $_GET['page'] ) ? $_GET['page'] : '';
    142143
    143144        if ( ( $pagenow == 'post.php' && $post_type == 'shop_order' ) || ( $pagenow == 'admin.php' && $admin_page == 'wc-orders' ) ) {
  • woo-cost-of-shipping/trunk/woocommerce-cost-of-shipping.php

    r3094078 r3098816  
    44 * Plugin URI:  https://www.theritesites.com/plugins/woocommerce-cost-of-shipping
    55 * Description: Allows the association of the cost of shipping to WooCommerce orders
    6  * Version:     1.5.2
     6 * Version:     1.5.3
    77 * Author:      TheRiteSites
    88 * Author URI:  https://www.theritesites.com
     
    1818 *
    1919 * @package WC_COS
    20  * @version 1.5.2
     20 * @version 1.5.3
    2121 */
    2222
     
    6262     * @since  1.0.0
    6363     */
    64     const VERSION = '1.5.2';
     64    const VERSION = '1.5.3';
    6565
    6666    /**
Note: See TracChangeset for help on using the changeset viewer.