Changeset 2687799
- Timestamp:
- 03/02/2022 08:34:13 PM (4 years ago)
- Location:
- autopopulate-checkout-for-woocommerce/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
autopopulate-checkout-woo.php (modified) (1 diff)
-
includes/class-autopopulate-checkout-woo.php (modified) (1 diff)
-
public/class-autopopulate-checkout-woo-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
autopopulate-checkout-for-woocommerce/trunk/README.txt
r2687791 r2687799 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.9.1 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 46 46 == Changelog == 47 = 1.0.5 = 47 48 = 1.0.4 = 48 49 * Checking if woocommerce is null -
autopopulate-checkout-for-woocommerce/trunk/autopopulate-checkout-woo.php
r2687793 r2687799 17 17 * Plugin URI: https://www.wpconcierges.com/plugins/autopopulate-checkout-woo/ 18 18 * Description: Pass in values for shipping, billing, to any page of your site and the plugin will create a customer session that is used on the Woocommerce Checkout page. 19 * Version: 1.0. 419 * Version: 1.0.5 20 20 * Author: WpConcierges 21 21 * Author URI: https://www.wpconcierges.com/plugins/ -
autopopulate-checkout-for-woocommerce/trunk/includes/class-autopopulate-checkout-woo.php
r2687793 r2687799 71 71 $this->version = AUTOPOPULATE_CHECKOUT_WOO_VERSION; 72 72 } else { 73 $this->version = '1.0. 4';73 $this->version = '1.0.5'; 74 74 } 75 75 $this->plugin_name = $this->autopopulate_checkout_woo = 'autopopulate-checkout-woo'; -
autopopulate-checkout-for-woocommerce/trunk/public/class-autopopulate-checkout-woo-public.php
r2687791 r2687799 110 110 private function set_customer_address_field($field_type,$set_value){ 111 111 global $woocommerce; 112 if(!is_null($woocommerce) ) {112 if(!is_null($woocommerce) && !is_null($woocommerce->customer)) { 113 113 switch($field_type){ 114 114 case 'billing-first-name': … … 217 217 global $woocommerce; 218 218 219 if(!is_null($woocommerce) ){219 if(!is_null($woocommerce) && !is_null($woocommerce->customer)){ 220 220 if(strlen($woocommerce->customer->get_billing_first_name())) 221 221 $fields['billing']['billing_first_name']['default'] = $woocommerce->customer->get_billing_first_name();
Note: See TracChangeset
for help on using the changeset viewer.