Changeset 2385883
- Timestamp:
- 09/21/2020 07:13:57 PM (5 years ago)
- Location:
- maje-wc-no-po-boxes/trunk
- Files:
-
- 4 edited
-
MajeMedia-WC-No-PO-Boxes.php (modified) (2 diffs)
-
README.md (modified) (1 diff)
-
autoload.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
maje-wc-no-po-boxes/trunk/MajeMedia-WC-No-PO-Boxes.php
r2343469 r2385883 5 5 Plugin URI: https://majemedia.com/plugins/no-po-boxes 6 6 Description: 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. 17 Version: 2.1.2 8 8 Author: Maje Media LLC 9 9 Author URI: https://majemedia.com … … 13 13 Text Domain: mm-wc-no-po-boxes 14 14 WC requires at least: 3.0.0 15 WC tested up to: 4. 3.015 WC tested up to: 4.5.2 16 16 */ 17 17 -
maje-wc-no-po-boxes/trunk/README.md
r2343469 r2385883 124 124 125 125 ## 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 126 131 ### 2.1.1 127 132 * Added "p o box" to restricted strings -
maje-wc-no-po-boxes/trunk/autoload.php
r2209552 r2385883 23 23 * @param $message mixed anything you want to print out 24 24 */ 25 function _log( $message = '', BOOL$backtrace = FALSE ) {25 function _log( $message = '', bool $backtrace = FALSE ) { 26 26 27 27 if( $backtrace || func_num_args() === 0 ) { 28 $backtrace = debug_backtrace(); 29 $file_lines = []; 28 30 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)); 32 32 } 33 33 … … 38 38 } 39 39 40 40 41 } -
maje-wc-no-po-boxes/trunk/readme.txt
r2343469 r2385883 3 3 Tags: woocommerce,checkout,po boxes,don't ship to po boxes,disallow po box shipping,prevent po boxes,post office box 4 4 Requires at least: 4.3.2 5 Tested up to: 5. 45 Tested up to: 5.5 6 6 Requires PHP: 5.6 7 Stable tag: 2.1. 17 Stable tag: 2.1.2 8 8 License: GPL2 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 38 38 39 39 == 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 40 45 = 2.1.1 = 41 46 * Added "p o box" to restricted strings
Note: See TracChangeset
for help on using the changeset viewer.