Changeset 666770
- Timestamp:
- 02/12/2013 09:57:22 AM (13 years ago)
- Location:
- paypal-pay-buy-donation-and-cart-buttons-shortcode
- Files:
-
- 2 edited
-
tags/1.4/paypal-pay-buy-cart-buttons.php (modified) (2 diffs)
-
trunk/paypal-pay-buy-cart-buttons.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paypal-pay-buy-donation-and-cart-buttons-shortcode/tags/1.4/paypal-pay-buy-cart-buttons.php
r666324 r666770 145 145 $paypal_values['return'] = $thankyou_page_url; 146 146 147 if(!empty($btn_url))148 $btn_src = $btn_url;149 147 150 148 if($echo_link) { … … 158 156 } 159 157 else { 160 if(wpdev_is_url_exists('https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif') ) 158 if(!empty($btn_url)) 159 $btn_src = $btn_url; 160 else if(wpdev_is_url_exists('https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif') ) 161 161 $btn_src = 'https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif'; 162 162 else { -
paypal-pay-buy-donation-and-cart-buttons-shortcode/trunk/paypal-pay-buy-cart-buttons.php
r666324 r666770 145 145 $paypal_values['return'] = $thankyou_page_url; 146 146 147 if(!empty($btn_url))148 $btn_src = $btn_url;149 147 150 148 if($echo_link) { … … 158 156 } 159 157 else { 160 if(wpdev_is_url_exists('https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif') ) 158 if(!empty($btn_url)) 159 $btn_src = $btn_url; 160 else if(wpdev_is_url_exists('https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif') ) 161 161 $btn_src = 'https://www.paypalobjects.com/'.$lang.'/i/btn/'.$btn.'.gif'; 162 162 else {
Note: See TracChangeset
for help on using the changeset viewer.