Plugin Directory

Changeset 2385883


Ignore:
Timestamp:
09/21/2020 07:13:57 PM (5 years ago)
Author:
majemedia
Message:

Tested again WP 5.5.x and WC 4.5.x

Location:
maje-wc-no-po-boxes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • maje-wc-no-po-boxes/trunk/MajeMedia-WC-No-PO-Boxes.php

    r2343469 r2385883  
    55Plugin URI:  https://majemedia.com/plugins/no-po-boxes
    66Description: Restricts the use of PO Boxes during WooCommerce checkout. It contains a configurable message to display when a PO Box is attempted to be used. Will not limit the use of PO Boxes for carts that only contain digital products.
    7 Version:     2.1.1
     7Version:     2.1.2
    88Author:      Maje Media LLC
    99Author URI:  https://majemedia.com
     
    1313Text Domain: mm-wc-no-po-boxes
    1414WC requires at least: 3.0.0
    15 WC tested up to: 4.3.0
     15WC tested up to: 4.5.2
    1616*/
    1717
  • maje-wc-no-po-boxes/trunk/README.md

    r2343469 r2385883  
    124124
    125125## Changelog
     126### 2.1.2
     127* Fixed for working with WordPress 5.5.x
     128* Fixed for working with WooCommerce 4.5.x
     129* Updated version
     130
    126131### 2.1.1
    127132* Added "p o box" to restricted strings
  • maje-wc-no-po-boxes/trunk/autoload.php

    r2209552 r2385883  
    2323     * @param $message mixed anything you want to print out
    2424     */
    25     function _log( $message = '', BOOL $backtrace = FALSE ) {
     25    function _log( $message = '', bool $backtrace = FALSE ) {
    2626
    2727        if( $backtrace || func_num_args() === 0 ) {
     28            $backtrace  = debug_backtrace();
     29            $file_lines = [];
    2830
    29             $backtrace = debug_backtrace();
    30             error_log( print_r( [ 'file' => $backtrace[ 0 ][ 'file' ], 'line' => $backtrace[ 0 ][ 'line' ] ], TRUE ) );
    31 
     31            error_log(print_r(['file'=>$backtrace[0]['file'], 'line' => $backtrace[0]['line']], TRUE));
    3232        }
    3333
     
    3838    }
    3939
     40
    4041}
  • maje-wc-no-po-boxes/trunk/readme.txt

    r2343469 r2385883  
    33Tags: woocommerce,checkout,po boxes,don't ship to po boxes,disallow po box shipping,prevent po boxes,post office box
    44Requires at least: 4.3.2
    5 Tested up to: 5.4
     5Tested up to: 5.5
    66Requires PHP: 5.6
    7 Stable tag: 2.1.1
     7Stable tag: 2.1.2
    88License: GPL2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3838
    3939== Changelog ==
     40= 2.1.2 =
     41* Fixed for working with WordPress 5.5.x
     42* Fixed for working with WooCommerce 4.5.x
     43* Updated version
     44
    4045= 2.1.1 =
    4146* Added "p o box" to restricted strings
Note: See TracChangeset for help on using the changeset viewer.