Plugin Directory

Changeset 3094078


Ignore:
Timestamp:
05/28/2024 05:39:48 PM (23 months ago)
Author:
theritesites
Message:

1.5.2 - minor update for php warning being output

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

Legend:

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

    r3093396 r3094078  
    5959
    6060== Changelog ==
     61
     62= 1.5.2 =
     63- Fixed: Changed how conditional was checked to prevent warning output in debug log.
    6164
    6265= 1.5.1 =
  • woo-cost-of-shipping/trunk/includes/admin/class-wc-cos-admin-orders.php

    r3093396 r3094078  
    106106        global $pagenow;
    107107        global $post_type;
    108         $admin_page = $_GET['page'];
    109 
    110         if ( ( $pagenow == 'post.php' && $post_type == 'shop_order' ) || ( $pagenow == 'admin.php' && $admin_page == 'wc-orders' ) ) {
     108
     109        if ( ( $pagenow == 'post.php' && $post_type == 'shop_order' ) || ( isset( $_GET['page'] ) && $pagenow == 'admin.php' && $_GET['page'] == 'wc-orders' ) ) {
    111110
    112111            $js_file = '';
  • woo-cost-of-shipping/trunk/woocommerce-cost-of-shipping.php

    r3093396 r3094078  
    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.1
     6 * Version:     1.5.2
    77 * Author:      TheRiteSites
    88 * Author URI:  https://www.theritesites.com
     
    1818 *
    1919 * @package WC_COS
    20  * @version 1.5.1
     20 * @version 1.5.2
    2121 */
    2222
     
    6262     * @since  1.0.0
    6363     */
    64     const VERSION = '1.5.1';
     64    const VERSION = '1.5.2';
    6565
    6666    /**
Note: See TracChangeset for help on using the changeset viewer.