Changeset 1071318
- Timestamp:
- 01/19/2015 08:58:39 PM (11 years ago)
- Location:
- ithemes-exchange
- Files:
-
- 34 edited
- 1 copied
-
tags/1.11.6 (copied) (copied from ithemes-exchange/trunk)
-
tags/1.11.6/api/misc.php (modified) (1 diff)
-
tags/1.11.6/api/pages.php (modified) (4 diffs)
-
tags/1.11.6/api/theme/billing.php (modified) (11 diffs)
-
tags/1.11.6/api/theme/coupons.php (modified) (1 diff)
-
tags/1.11.6/api/theme/customer.php (modified) (1 diff)
-
tags/1.11.6/api/theme/registration.php (modified) (10 diffs)
-
tags/1.11.6/api/theme/shipping.php (modified) (13 diffs)
-
tags/1.11.6/api/transactions.php (modified) (1 diff)
-
tags/1.11.6/history.txt (modified) (2 diffs)
-
tags/1.11.6/init.php (modified) (2 diffs)
-
tags/1.11.6/lang/it-l10n-ithemes-exchange-es_MX.po (modified) (1 diff)
-
tags/1.11.6/lang/it-l10n-ithemes-exchange-nl_NL.po (modified) (1 diff)
-
tags/1.11.6/lang/ithemes-exchange.pot (modified) (11 diffs)
-
tags/1.11.6/lib/cart/class.cart.php (modified) (1 diff)
-
tags/1.11.6/lib/sessions/db_session_manager/db-session.php (modified) (2 diffs)
-
tags/1.11.6/lib/super-widget/ajax.php (modified) (5 diffs)
-
tags/1.11.6/readme.txt (modified) (3 diffs)
-
trunk/api/misc.php (modified) (1 diff)
-
trunk/api/pages.php (modified) (4 diffs)
-
trunk/api/theme/billing.php (modified) (11 diffs)
-
trunk/api/theme/coupons.php (modified) (1 diff)
-
trunk/api/theme/customer.php (modified) (1 diff)
-
trunk/api/theme/registration.php (modified) (10 diffs)
-
trunk/api/theme/shipping.php (modified) (13 diffs)
-
trunk/api/transactions.php (modified) (1 diff)
-
trunk/history.txt (modified) (2 diffs)
-
trunk/init.php (modified) (2 diffs)
-
trunk/lang/it-l10n-ithemes-exchange-es_MX.po (modified) (1 diff)
-
trunk/lang/it-l10n-ithemes-exchange-nl_NL.po (modified) (1 diff)
-
trunk/lang/ithemes-exchange.pot (modified) (11 diffs)
-
trunk/lib/cart/class.cart.php (modified) (1 diff)
-
trunk/lib/sessions/db_session_manager/db-session.php (modified) (2 diffs)
-
trunk/lib/super-widget/ajax.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ithemes-exchange/tags/1.11.6/api/misc.php
r1042138 r1071318 218 218 */ 219 219 function it_exchange_wp_get_nav_menu_items_filter( $items, $menu, $args ) { 220 if ( is_user_logged_in() ) {220 if ( is_user_logged_in() && 'disabled' != it_exchange_get_page_type( 'logout' ) ) { 221 221 foreach ( $items as $item ) { 222 222 //We really just want to compare the URL PATH, so grab that and compare later -
ithemes-exchange/tags/1.11.6/api/pages.php
r973371 r1071318 22 22 $registered = it_exchange_get_registered_pages( $options ); 23 23 $merged = array(); 24 24 25 25 // Grab existing DB data if its present 26 26 if ( ! $pages = it_exchange_get_option( 'settings_pages', $break_cache ) ) 27 27 $pages = array(); 28 28 29 29 // Merge DB data with registered defaults 30 30 foreach( $registered as $page => $default_params ) { … … 37 37 $merged[$page] = ITUtility::merge_defaults( $db_params, $default_params ); 38 38 } 39 39 40 40 if ( !empty( $options ) ) 41 41 return apply_filters( 'it_exchange_get_pages', $merged, $break_cache ); … … 342 342 function it_exchange_get_registered_pages( $options=array() ) { 343 343 $pages = empty( $GLOBALS['it_exchange']['registered_pages'] ) ? array() : (array) $GLOBALS['it_exchange']['registered_pages']; 344 344 345 345 if ( ! empty( $options['type'] ) ) { 346 346 foreach( $pages as $page => $page_options ) { … … 349 349 } 350 350 } 351 351 352 352 return $pages; 353 353 } -
ithemes-exchange/tags/1.11.6/api/theme/billing.php
r1032065 r1071318 21 21 */ 22 22 private $_billing_address = ''; 23 24 /** 25 * @var array 26 */ 27 private $session = array(); 23 28 24 29 /** … … 52 57 function IT_Theme_API_Billing() { 53 58 $this->_billing_address = it_exchange_get_cart_billing_address(); 59 60 if ( it_exchange_in_superwidget() ) { 61 62 $data = it_exchange_get_session_data( "sw-billing" ); 63 64 if ( empty( $data ) ) { 65 $data = array(); 66 } 67 68 $this->session = $data; 69 } 54 70 } 55 71 … … 83 99 $options['value'] = empty( $this->_billing_address['first-name'] ) ? '' : $this->_billing_address['first-name']; 84 100 101 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 102 $options['value'] = $this->session[ $options['field_name'] ]; 103 } 104 85 105 return $this->get_fields( $options ); 86 106 } … … 104 124 $options['value'] = empty( $this->_billing_address['last-name'] ) ? '' : $this->_billing_address['last-name']; 105 125 126 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 127 $options['value'] = $this->session[ $options['field_name'] ]; 128 } 129 106 130 return $this->get_fields( $options ); 107 131 } … … 125 149 $options['value'] = empty( $this->_billing_address['company-name'] ) ? '' : $this->_billing_address['company-name']; 126 150 151 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 152 $options['value'] = $this->session[ $options['field_name'] ]; 153 } 154 127 155 return $this->get_fields( $options ); 128 156 } … … 146 174 $options['value'] = empty( $this->_billing_address['address1'] ) ? '' : $this->_billing_address['address1']; 147 175 176 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 177 $options['value'] = $this->session[ $options['field_name'] ]; 178 } 179 148 180 return $this->get_fields( $options ); 149 181 } … … 167 199 $options['value'] = empty( $this->_billing_address['address2'] ) ? '' : $this->_billing_address['address2']; 168 200 201 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 202 $options['value'] = $this->session[ $options['field_name'] ]; 203 } 204 169 205 return $this->get_fields( $options ); 170 206 } … … 188 224 $options['value'] = empty( $this->_billing_address['city'] ) ? '' : $this->_billing_address['city']; 189 225 226 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 227 $options['value'] = $this->session[ $options['field_name'] ]; 228 } 229 190 230 return $this->get_fields( $options ); 191 231 } … … 208 248 $options['field_name'] = 'it-exchange-billing-address-zip'; 209 249 $options['value'] = empty( $this->_billing_address['zip'] ) ? '' : $this->_billing_address['zip']; 250 251 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 252 $options['value'] = $this->session[ $options['field_name'] ]; 253 } 210 254 211 255 return $this->get_fields( $options ); … … 287 331 // Update value if doing ajax 288 332 $options['value'] = empty( $_POST['ite_base_country_ajax'] ) ? $options['value'] : $_POST['ite_base_country_ajax']; 333 334 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 335 $options['value'] = $this->session[ $options['field_name'] ]; 336 } 289 337 290 338 $countries = it_exchange_get_data_set( 'countries' ); … … 357 405 $options['field_name'] = 'it-exchange-billing-address-state'; 358 406 $options['value'] = empty( $this->_billing_address['state'] ) ? '' : $this->_billing_address['state']; 407 408 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 409 $options['value'] = $this->session[ $options['field_name'] ]; 410 } 359 411 360 412 $states = it_exchange_get_data_set( 'states', array( 'country' => it_exchange( 'billing', 'get-country', array( 'format' => 'value' ) ) ) ); -
ithemes-exchange/tags/1.11.6/api/theme/coupons.php
r1018864 r1071318 219 219 $amount_number = it_exchange_convert_from_database_number( $this->coupon->amount_number ); 220 220 221 return _x( '-', ' LION', 'negative character for amount of money in coupons' ) . it_exchange_basic_coupons_get_total_discount_for_cart();221 return _x( '-', 'negative character for amount of money in coupons', 'it-l10n-ithemes-exchange' ) . it_exchange_basic_coupons_get_total_discount_for_cart(); 222 222 } 223 223 -
ithemes-exchange/tags/1.11.6/api/theme/customer.php
r1004481 r1071318 481 481 foreach( $pages as $page_slug ) { 482 482 483 // Skip menu item if disabled 484 if ( 'disabled' == it_exchange_get_page_type( $page_slug ) ) { 485 continue; 486 } 487 483 488 $page_slug = trim( $page_slug ); 484 489 $class = it_exchange_is_page( $page_slug ) ? ' class="current"' : ''; -
ithemes-exchange/tags/1.11.6/api/theme/registration.php
r1004481 r1071318 21 21 */ 22 22 private $_customer = ''; 23 24 /** 25 * @var array 26 */ 27 private $registration_session = array(); 23 28 24 29 /** … … 50 55 */ 51 56 function IT_Theme_API_Registration() { 57 58 if ( it_exchange_in_superwidget() ) { 59 60 $data = it_exchange_get_session_data( "sw-registration" ); 61 62 if ( empty( $data ) ) { 63 $data = array(); 64 } 65 66 $this->registration_session = $data; 67 } 52 68 } 53 69 … … 116 132 $field_name = $field_id; 117 133 134 if ( isset($this->registration_session[ $field_name ] ) ) { 135 $value = $this->registration_session[ $field_name ]; 136 } else { 137 $value = ''; 138 } 139 118 140 switch( $options['format'] ) { 119 141 … … 130 152 default: 131 153 $output = '<label for="' . $field_id. '">' . esc_attr( $options['label'] ) . '<span class="it-exchange-required-star">*</span></label>'; 132 $output .= '<input type="text" id="' . $field_id. '" name="' . $field_name. '" value=" " />';154 $output .= '<input type="text" id="' . $field_id. '" name="' . $field_name. '" value="' . esc_attr( $value ) .'" />'; 133 155 134 156 } … … 153 175 $field_name = $field_id; 154 176 177 if ( isset($this->registration_session[ $field_name ] ) ) { 178 $value = $this->registration_session[ $field_name ]; 179 } else { 180 $value = ''; 181 } 182 155 183 switch( $options['format'] ) { 156 184 … … 167 195 default: 168 196 $output = '<label for="' . $field_id . '">' . esc_attr( $options['label'] ) . '</label>'; 169 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';197 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 170 198 171 199 } … … 190 218 $field_name = $field_id; 191 219 220 if ( isset($this->registration_session[ $field_name ] ) ) { 221 $value = $this->registration_session[ $field_name ]; 222 } else { 223 $value = ''; 224 } 225 192 226 switch( $options['format'] ) { 193 227 … … 204 238 default: 205 239 $output = '<label for="' . $field_id . '">' . $options['label'] . '</label>'; 206 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';240 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 207 241 208 242 } … … 227 261 $field_name = $field_id; 228 262 263 if ( isset($this->registration_session[ $field_name ] ) ) { 264 $value = $this->registration_session[ $field_name ]; 265 } else { 266 $value = ''; 267 } 268 229 269 switch( $options['format'] ) { 230 270 … … 241 281 default: 242 282 $output = '<label for="' . $field_id . '">' . esc_attr( $options['label'] ) . '<span class="it-exchange-required-star">*</span></label>'; 243 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';283 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 244 284 245 285 } -
ithemes-exchange/tags/1.11.6/api/theme/shipping.php
r1032065 r1071318 21 21 */ 22 22 private $_shipping_address = ''; 23 24 /** 25 * @var array 26 */ 27 private $session = array(); 23 28 24 29 /** … … 51 56 function IT_Theme_API_Shipping() { 52 57 $this->_shipping_address = it_exchange_get_cart_shipping_address(); 58 59 if ( it_exchange_in_superwidget() ) { 60 61 $data = it_exchange_get_session_data( "sw-shipping" ); 62 63 if ( empty( $data ) ) { 64 $data = array(); 65 } 66 67 $this->session = $data; 68 } 53 69 } 54 70 … … 82 98 $options['value'] = empty( $this->_shipping_address['first-name'] ) ? '' : $this->_shipping_address['first-name']; 83 99 100 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 101 $options['value'] = $this->session[ $options['field_name'] ]; 102 } 103 84 104 return $this->get_fields( $options ); 85 105 } … … 103 123 $options['value'] = empty( $this->_shipping_address['last-name'] ) ? '' : $this->_shipping_address['last-name']; 104 124 125 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 126 $options['value'] = $this->session[ $options['field_name'] ]; 127 } 128 105 129 return $this->get_fields( $options ); 106 130 } … … 124 148 $options['value'] = empty( $this->_shipping_address['company-name'] ) ? '' : $this->_shipping_address['company-name']; 125 149 150 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 151 $options['value'] = $this->session[ $options['field_name'] ]; 152 } 153 126 154 return $this->get_fields( $options ); 127 155 } … … 145 173 $options['value'] = empty( $this->_shipping_address['address1'] ) ? '' : $this->_shipping_address['address1']; 146 174 175 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 176 $options['value'] = $this->session[ $options['field_name'] ]; 177 } 178 147 179 return $this->get_fields( $options ); 148 180 } … … 166 198 $options['value'] = empty( $this->_shipping_address['address2'] ) ? '' : $this->_shipping_address['address2']; 167 199 200 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 201 $options['value'] = $this->session[ $options['field_name'] ]; 202 } 203 168 204 return $this->get_fields( $options ); 169 205 } … … 187 223 $options['value'] = empty( $this->_shipping_address['city'] ) ? '' : $this->_shipping_address['city']; 188 224 225 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 226 $options['value'] = $this->session[ $options['field_name'] ]; 227 } 228 189 229 return $this->get_fields( $options ); 190 230 } … … 208 248 $options['value'] = empty( $this->_shipping_address['zip'] ) ? '' : $this->_shipping_address['zip']; 209 249 250 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 251 $options['value'] = $this->session[ $options['field_name'] ]; 252 } 253 210 254 return $this->get_fields( $options ); 211 255 } … … 231 275 // Update value if doing ajax 232 276 $options['value'] = empty( $_POST['ite_base_country_ajax'] ) ? $options['value'] : $_POST['ite_base_country_ajax']; 277 278 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 279 $options['value'] = $this->session[ $options['field_name'] ]; 280 } 233 281 234 282 $countries = it_exchange_get_data_set( 'countries' ); … … 302 350 $options['field_name'] = 'it-exchange-shipping-address-state'; 303 351 $options['value'] = empty( $this->_shipping_address['state'] ) ? '' : $this->_shipping_address['state']; 352 353 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 354 $options['value'] = $this->session[ $options['field_name'] ]; 355 } 304 356 305 357 $states = it_exchange_get_data_set( 'states', array( 'country' => it_exchange( 'shipping', 'get-country', array( 'format' => 'value' ) ) ) ); … … 369 421 $options['value'] = empty( $this->_shipping_address['email'] ) ? '' : $this->_shipping_address['email']; 370 422 423 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 424 $options['value'] = $this->session[ $options['field_name'] ]; 425 } 426 371 427 return $this->get_fields( $options ); 372 428 } … … 388 444 $options['field_name'] = 'it-exchange-shipping-address-phone'; 389 445 $options['value'] = empty( $this->_shipping_address['phone'] ) ? '' : $this->_shipping_address['phone']; 446 447 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 448 $options['value'] = $this->session[ $options['field_name'] ]; 449 } 390 450 391 451 return $this->get_fields( $options ); -
ithemes-exchange/tags/1.11.6/api/transactions.php
r1042138 r1071318 466 466 $transaction->update_status( $status ); 467 467 468 do_action( 'it_exchange_update_transaction_status', $transaction, $old_status, $old_status_cleared );469 do_action( 'it_exchange_update_transaction_status_' . $transaction->transaction_method, $transaction, $old_status, $old_status_cleared );468 do_action( 'it_exchange_update_transaction_status', $transaction, $old_status, $old_status_cleared, $status ); 469 do_action( 'it_exchange_update_transaction_status_' . $transaction->transaction_method, $transaction, $old_status, $old_status_cleared, $status ); 470 470 return $transaction->get_status(); 471 471 } -
ithemes-exchange/tags/1.11.6/history.txt
r1042138 r1071318 1 1.11.6 - Glenn Ansley, Lew Ayotte, Elise Alley, Timothy Jacobs 2 Fix bug preventing users with '&' in their username from logging in via SW. props Timothy Jacobs <http://ironbounddesigns.com/> 3 Remember the shipping address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 4 Remember the billing address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 5 Remember the registration fields when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 6 Fixed bug that tries to display disabled Exchange profile pages on the user's profile page. props Timothy Jacobs <http://ironbounddesigns.com/> 7 Fix bug causing menu item titles to not display when user_is_logged_in and Exchagne login/logout pages are set to 'disabled' in Settings 8 Properly escape in values in the event that poorly-formatted option names were previously inserted into the options table 9 Fixed improper order of args in call to _x() 10 Add new status to param of actions triggered when a transaction status is changed. 11 Fixed bug that was preventing default WP welcome email from being sent when new users register 12 Extend inline-docs a bit for saving custom billing address fields 1 13 1.11.5 - Glenn Ansley, Lew Ayotte, Elise Alley 2 14 Adding IP address of customer to Transaction meta and on the Transaction page … … 38 50 Add actions for applying/removing basic coupons to/from cart 39 51 Adding new filters and setting new global for add-ons 40 Adding some filters for Table Rate Shipping 52 Adding some filters for Table Rate Shipping 41 53 Add Mexican states to states.php dataset. Props: Darryl Clark 42 54 Fixed bug causing JS error when Image Gallery Settings turn zoom off -
ithemes-exchange/tags/1.11.6/init.php
r1057567 r1071318 2 2 /* 3 3 * Plugin Name: iThemes Exchange 4 * Version: 1.11. 5.15 * Text Domain: LION4 * Version: 1.11.6 5 * Text Domain: it-l10n-ithemes-exchange 6 6 * Description: Easily sell your digital goods with iThemes Exchange, simple ecommerce for WordPress 7 7 * Plugin URI: http://ithemes.com/exchange/ 8 8 * Author: iThemes 9 9 * Author URI: http://ithemes.com 10 10 * 11 11 * Installation: 12 12 * 1. Download and unzip the latest release zip file. … … 25 25 class IT_Exchange { 26 26 27 var $_version = '1.11. 5.1';27 var $_version = '1.11.6'; 28 28 var $_wp_minimum = '3.5'; 29 29 var $_slug = 'it-exchange'; -
ithemes-exchange/tags/1.11.6/lang/it-l10n-ithemes-exchange-es_MX.po
r1035942 r1071318 2488 2488 2489 2489 #: api/theme/coupons.php:221 2490 msgctxt " LION"2490 msgctxt "it-l10n-ithemes-exchange" 2491 2491 msgid "-" 2492 2492 msgstr "-" -
ithemes-exchange/tags/1.11.6/lang/it-l10n-ithemes-exchange-nl_NL.po
r1018864 r1071318 2492 2492 2493 2493 #: api/theme/coupons.php:221 2494 msgctxt " LION"2494 msgctxt "it-l10n-ithemes-exchange" 2495 2495 msgid "-" 2496 2496 msgstr "-" -
ithemes-exchange/tags/1.11.6/lang/ithemes-exchange.pot
r1042138 r1071318 1 # Copyright (C) 201 4iThemes Exchange1 # Copyright (C) 2015 iThemes Exchange 2 2 # This file is distributed under the same license as the iThemes Exchange package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: iThemes Exchange 1.11. 5\n"5 "Project-Id-Version: iThemes Exchange 1.11.6\n" 6 6 "Report-Msgid-Bugs-To: http://ithemes.com/forum/\n" 7 "POT-Creation-Date: 201 4-12-10 19:07:50+00:00\n"8 "PO-Revision-Date: 201 4-MO-DA HO:MI+ZONE\n"7 "POT-Creation-Date: 2015-01-19 20:51:55+00:00\n" 8 "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" … … 2506 2506 msgstr "" 2507 2507 2508 #: api/theme/billing.php: 76api/theme/customer.php:1412509 #: api/theme/registration.php:1 48 api/theme/shipping.php:752508 #: api/theme/billing.php:92 api/theme/customer.php:141 2509 #: api/theme/registration.php:170 api/theme/shipping.php:91 2510 2510 msgid "First Name" 2511 2511 msgstr "" 2512 2512 2513 #: api/theme/billing.php: 97 api/theme/customer.php:1822514 #: api/theme/registration.php: 185 api/theme/shipping.php:962513 #: api/theme/billing.php:117 api/theme/customer.php:182 2514 #: api/theme/registration.php:213 api/theme/shipping.php:116 2515 2515 msgid "Last Name" 2516 2516 msgstr "" 2517 2517 2518 #: api/theme/billing.php:1 18 api/theme/shipping.php:1172518 #: api/theme/billing.php:142 api/theme/shipping.php:141 2519 2519 #: lib/admin/views/admin-settings.php:60 2520 2520 msgid "Company Name" 2521 2521 msgstr "" 2522 2522 2523 #: api/theme/billing.php:1 39 api/theme/shipping.php:1382523 #: api/theme/billing.php:167 api/theme/shipping.php:166 2524 2524 msgid "Address" 2525 2525 msgstr "" 2526 2526 2527 #: api/theme/billing.php:1 60 api/theme/shipping.php:1592527 #: api/theme/billing.php:192 api/theme/shipping.php:191 2528 2528 #: lib/shipping/class.shipping.php:301 2529 2529 msgid "Address 2" 2530 2530 msgstr "" 2531 2531 2532 #: api/theme/billing.php: 181 api/theme/shipping.php:1802532 #: api/theme/billing.php:217 api/theme/shipping.php:216 2533 2533 #: lib/shipping/class.shipping.php:311 2534 2534 msgid "City" 2535 2535 msgstr "" 2536 2536 2537 #: api/theme/billing.php:2 02 api/theme/shipping.php:2012537 #: api/theme/billing.php:242 api/theme/shipping.php:241 2538 2538 msgid "Zip Code" 2539 2539 msgstr "" 2540 2540 2541 #: api/theme/billing.php:2 302541 #: api/theme/billing.php:274 2542 2542 msgid "Ship to billing address?" 2543 2543 msgstr "" 2544 2544 2545 #: api/theme/billing.php: 278 api/theme/shipping.php:2222545 #: api/theme/billing.php:322 api/theme/shipping.php:266 2546 2546 msgid "Country" 2547 2547 msgstr "" 2548 2548 2549 #: api/theme/billing.php:3 47 api/theme/shipping.php:2912549 #: api/theme/billing.php:395 api/theme/shipping.php:339 2550 2550 #: lib/shipping/class.shipping.php:631 2551 2551 msgid "State" 2552 2552 msgstr "" 2553 2553 2554 #: api/theme/billing.php:4 18api/theme/customer.php:2662555 #: api/theme/registration.php:2 22 api/theme/shipping.php:3632554 #: api/theme/billing.php:470 api/theme/customer.php:266 2555 #: api/theme/registration.php:256 api/theme/shipping.php:415 2556 2556 #: core-addons/load.php:316 2557 2557 msgid "Email" 2558 2558 msgstr "" 2559 2559 2560 #: api/theme/billing.php:4 39 api/theme/shipping.php:3832560 #: api/theme/billing.php:491 api/theme/shipping.php:439 2561 2561 msgid "Phone" 2562 2562 msgstr "" 2563 2563 2564 #: api/theme/billing.php: 460 api/theme/shipping.php:4032564 #: api/theme/billing.php:512 api/theme/shipping.php:463 2565 2565 msgid "Submit" 2566 2566 msgstr "" 2567 2567 2568 #: api/theme/billing.php: 479api/theme/checkout.php:93 api/theme/login.php:3322569 #: api/theme/registration.php: 368 api/theme/shipping-method.php:1652570 #: api/theme/shipping.php:4 222568 #: api/theme/billing.php:531 api/theme/checkout.php:93 api/theme/login.php:332 2569 #: api/theme/registration.php:408 api/theme/shipping-method.php:165 2570 #: api/theme/shipping.php:482 2571 2571 #: core-addons/admin/guest-checkout/lib/template-functions.php:210 2572 2572 #: core-addons/coupons/basic-coupons/admin.php:390 … … 2619 2619 2620 2620 #: api/theme/coupons.php:221 2621 msgctxt " LION"2621 msgctxt "negative character for amount of money in coupons" 2622 2622 msgid "-" 2623 2623 msgstr "" … … 2632 2632 2633 2633 #: api/theme/customer.php:348 api/theme/login.php:147 2634 #: api/theme/registration.php:2 592634 #: api/theme/registration.php:299 2635 2635 msgid "Password" 2636 2636 msgstr "" 2637 2637 2638 #: api/theme/customer.php:385 api/theme/registration.php: 2962638 #: api/theme/customer.php:385 api/theme/registration.php:336 2639 2639 msgid "Confirm Password" 2640 2640 msgstr "" … … 2644 2644 msgstr "" 2645 2645 2646 #: api/theme/customer.php:5 352646 #: api/theme/customer.php:540 2647 2647 msgid "View your Account" 2648 2648 msgstr "" 2649 2649 2650 #: api/theme/customer.php:57 02650 #: api/theme/customer.php:575 2651 2651 msgid "Thank you for your order. An email confirmation has been sent to %s." 2652 2652 msgstr "" … … 2667 2667 msgstr "" 2668 2668 2669 #: api/theme/login.php:110 api/theme/registration.php:1 112669 #: api/theme/login.php:110 api/theme/registration.php:127 2670 2670 msgid "Username" 2671 2671 msgstr "" … … 2683 2683 msgstr "" 2684 2684 2685 #: api/theme/login.php:297 api/theme/registration.php:3 332685 #: api/theme/login.php:297 api/theme/registration.php:373 2686 2686 #: lib/templates/content-checkout/elements/purchase-requirements/logged-in/elements/login/register.php:20 2687 2687 msgid "Register" … … 2758 2758 msgstr "" 2759 2759 2760 #: api/theme/registration.php:4 122760 #: api/theme/registration.php:452 2761 2761 msgid "Registration Disabled" 2762 2762 msgstr "" … … 2871 2871 msgstr "" 2872 2872 2873 #. #-#-#-#-# ithemes-exchange.pot (iThemes Exchange 1.11. 5) #-#-#-#-#2873 #. #-#-#-#-# ithemes-exchange.pot (iThemes Exchange 1.11.6) #-#-#-#-# 2874 2874 #. Plugin Name of the plugin/theme 2875 2875 #: core-addons/admin/basic-reporting/init.php:19 … … 5475 5475 msgstr "" 5476 5476 5477 #: lib/cart/class.cart.php:171 lib/cart/class.cart.php:5 485477 #: lib/cart/class.cart.php:171 lib/cart/class.cart.php:553 5478 5478 msgid "Product added to cart" 5479 5479 msgstr "" … … 5496 5496 msgstr "" 5497 5497 5498 #: lib/cart/class.cart.php:43 15498 #: lib/cart/class.cart.php:436 5499 5499 msgid "Billing Address Saved" 5500 5500 msgstr "" 5501 5501 5502 #: lib/cart/class.cart.php:53 05502 #: lib/cart/class.cart.php:535 5503 5503 msgid "Unknown error. Please try again." 5504 5504 msgstr "" 5505 5505 5506 #: lib/cart/class.cart.php:54 05506 #: lib/cart/class.cart.php:545 5507 5507 msgid "Please select a payment method" 5508 5508 msgstr "" 5509 5509 5510 #: lib/cart/class.cart.php:54 15510 #: lib/cart/class.cart.php:546 5511 5511 msgid "There was an error processing your transaction. Please try again." 5512 5512 msgstr "" 5513 5513 5514 #: lib/cart/class.cart.php:54 25514 #: lib/cart/class.cart.php:547 5515 5515 msgid "Product not removed from cart. Please try again." 5516 5516 msgstr "" 5517 5517 5518 #: lib/cart/class.cart.php:54 35518 #: lib/cart/class.cart.php:548 5519 5519 msgid "There was an error emptying your cart. Please try again." 5520 5520 msgstr "" 5521 5521 5522 #: lib/cart/class.cart.php:54 45522 #: lib/cart/class.cart.php:549 5523 5523 msgid "There was an error updating your cart. Please try again." 5524 5524 msgstr "" 5525 5525 5526 #: lib/cart/class.cart.php:5 455526 #: lib/cart/class.cart.php:550 5527 5527 msgid "Cart Updated." 5528 5528 msgstr "" 5529 5529 5530 #: lib/cart/class.cart.php:5 465530 #: lib/cart/class.cart.php:551 5531 5531 msgid "Cart Emptied" 5532 5532 msgstr "" 5533 5533 5534 #: lib/cart/class.cart.php:5 475534 #: lib/cart/class.cart.php:552 5535 5535 msgid "Product removed from cart." 5536 5536 msgstr "" -
ithemes-exchange/tags/1.11.6/lib/cart/class.cart.php
r1024556 r1071318 409 409 } 410 410 411 /** @todo This is hardcoded for now. will be more flexible at some point **/ 411 /** 412 * @todo This is hardcoded for now. will be more flexible at some point 413 * If you're having trouble getting your custom field to save, make sure that your form field's name 414 * matches what we're looking for in the REQUEST below. eg: adding 'custom-form' to the $fields var 415 * via this next filter means that your form field name has to be: 'it-exchange-billing-address-custom-form' 416 */ 412 417 $billing = array(); 413 418 $fields = apply_filters( 'it_exchange_billing_address_fields', array( -
ithemes-exchange/tags/1.11.6/lib/sessions/db_session_manager/db-session.php
r1008592 r1071318 157 157 // Delete all expired sessions in a single query 158 158 if ( ! empty( $expired_sessions ) ) { 159 $option_names = implode( "','", $expired_sessions ); 160 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name IN ('$option_names')" ); 159 $formatted = implode( ', ', array_fill( 0, count( $expired_sessions ), '%s' ) ); 160 $query = $wpdb->prepare( "DELETE FROM $wpdb->options WHERE option_name IN ($formatted)", $expired_sessions ); 161 $wpdb->query( $query ); 161 162 } 162 163 } … … 193 194 // Delete all sessions in a single query 194 195 if ( ! empty( $expired_sessions ) ) { 195 $option_names = implode( "','", $expired_sessions ); 196 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name IN ('$option_names')" ); 196 $formatted = implode( ', ', array_fill( 0, count( $expired_sessions ), '%s' ) ); 197 $query = $wpdb->prepare( "DELETE FROM $wpdb->options WHERE option_name IN ($formatted)", $expired_sessions ); 198 $wpdb->query( $query ); 197 199 } 198 200 } -
ithemes-exchange/tags/1.11.6/lib/super-widget/ajax.php
r935226 r1071318 90 90 // Login 91 91 if ( 'login' == $action ) { 92 $creds['user_login'] = empty( $_POST['log'] ) ? '' : esc_attr( $_POST['log'] );93 $creds['user_password'] = empty( $_POST['pwd'] ) ? '' : esc_attr( $_POST['pwd'] );94 $creds['remember'] = empty( $_POST['rememberme'] ) ? '' : esc_attr( $_POST['rememberme'] );92 $creds['user_login'] = empty( $_POST['log'] ) ? '' : urldecode( $_POST['log'] ); 93 $creds['user_password'] = empty( $_POST['pwd'] ) ? '' : urldecode( $_POST['pwd'] ); 94 $creds['remember'] = empty( $_POST['rememberme'] ) ? '' : urldecode( $_POST['rememberme'] ); 95 95 96 96 $user = wp_signon( $creds, false ); … … 113 113 // Clearing the user pass will prevent the user email from being sent 114 114 $email_pw = apply_filters( 'it_exchange_send_customer_registration_email', true ) ? $_POST['pass1'] : ''; 115 wp_new_user_notification( $user_id, $email_p ass);115 wp_new_user_notification( $user_id, $email_pw ); 116 116 117 117 $creds = array( … … 121 121 122 122 $user = wp_signon( $creds ); 123 if ( ! is_wp_error( $user ) ) 123 if ( ! is_wp_error( $user ) ) { 124 124 it_exchange_add_message( 'notice', __( 'Registered and logged in as ', 'it-l10n-ithemes-exchange' ) . $user->user_login ); 125 else125 } else { 126 126 it_exchange_add_message( 'error', $result->get_error_message() ); 127 } 128 129 // Clear form values we saved in case of error 130 it_exchange_clear_session_data( 'sw-registration' ); 131 127 132 die('1'); 128 133 } else { 129 134 it_exchange_add_message( 'error', $user_id->get_error_message() ); 135 136 // clear out the passwords before we save the data to the session 137 unset( $_POST['pass1'] ); 138 unset( $_POST['pass2'] ); 139 140 if ( $user_id->get_error_message( 'user_login' ) ) { 141 unset( $_POST['user_login'] ); 142 } 143 144 if ( $user_id->get_error_message( 'invalid_email' ) || $user_id->get_error_message( 'email_exists' ) ) { 145 unset( $_POST['email'] ); 146 } 147 148 it_exchange_update_session_data( 'sw-registration', $_POST ); 149 130 150 die('0'); 131 151 } … … 135 155 if ( 'update-shipping' == $action ) { 136 156 // This function will either updated the value or create an error and return 1 or 0 137 die( $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_shipping_address_request() ); 157 158 $shipping_result = $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_shipping_address_request(); 159 160 if ( ! $shipping_result ) { 161 it_exchange_update_session_data( "sw-shipping", $_POST ); 162 } else { 163 it_exchange_clear_session_data( "sw-shipping" ); 164 } 165 166 die( $shipping_result ); 138 167 } 139 168 … … 141 170 if ( 'update-billing' == $action ) { 142 171 // This function will either updated the value or create an error and return 1 or 0 143 die( $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_billing_address_request() ); 172 173 $billing_result = $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_billing_address_request(); 174 175 if ( ! $billing_result ) { 176 it_exchange_update_session_data( "sw-billing", $_POST ); 177 } else { 178 it_exchange_clear_session_data( "sw-billing" ); 179 } 180 181 die( $billing_result ); 144 182 } 145 183 -
ithemes-exchange/tags/1.11.6/readme.txt
r1057567 r1071318 4 4 Requires at least: 3.7 5 5 Tested up to: 4.1 6 Stable tag: 1.11. 5.16 Stable tag: 1.11.6 7 7 License: GPLv2 or later 8 8 … … 88 88 89 89 == Changelog == 90 = 1.11.5.1 = 91 * Fix missing font-icons 90 91 = 1.11.6 = 92 * Fix bug preventing users with '&' in their username from logging in via SW. props Timothy Jacobs <http://ironbounddesigns.com/> 93 * Remember the shipping address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 94 * Remember the billing address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 95 * Remember the registration fields when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 96 * Fixed bug that tries to display disabled Exchange profile pages on the user's profile page. props Timothy Jacobs <http://ironbounddesigns.com/> 97 * Fix bug causing menu item titles to not display when user_is_logged_in and Exchagne login/logout pages are set to 'disabled' in Settings 98 * Properly escape in values in the event that poorly-formatted option names were previously inserted into the options table 99 * Fixed improper order of args in call to _x() 100 * Add new status to param of actions triggered when a transaction status is changed. 101 * Fixed bug that was preventing default WP welcome email from being sent when new users register 102 * Extend inline-docs a bit for saving custom billing address fields 92 103 93 104 = 1.11.5 = … … 135 146 * Add actions for applying/removing basic coupons to/from cart 136 147 * Adding new filters and setting new global for add-ons 137 * Adding some filters for Table Rate Shipping 148 * Adding some filters for Table Rate Shipping 138 149 * Add Mexican states to states.php dataset. Props: Darryl Clark 139 150 * Fixed bug causing JS error when Image Gallery Settings turn zoom off -
ithemes-exchange/trunk/api/misc.php
r1042138 r1071318 218 218 */ 219 219 function it_exchange_wp_get_nav_menu_items_filter( $items, $menu, $args ) { 220 if ( is_user_logged_in() ) {220 if ( is_user_logged_in() && 'disabled' != it_exchange_get_page_type( 'logout' ) ) { 221 221 foreach ( $items as $item ) { 222 222 //We really just want to compare the URL PATH, so grab that and compare later -
ithemes-exchange/trunk/api/pages.php
r973371 r1071318 22 22 $registered = it_exchange_get_registered_pages( $options ); 23 23 $merged = array(); 24 24 25 25 // Grab existing DB data if its present 26 26 if ( ! $pages = it_exchange_get_option( 'settings_pages', $break_cache ) ) 27 27 $pages = array(); 28 28 29 29 // Merge DB data with registered defaults 30 30 foreach( $registered as $page => $default_params ) { … … 37 37 $merged[$page] = ITUtility::merge_defaults( $db_params, $default_params ); 38 38 } 39 39 40 40 if ( !empty( $options ) ) 41 41 return apply_filters( 'it_exchange_get_pages', $merged, $break_cache ); … … 342 342 function it_exchange_get_registered_pages( $options=array() ) { 343 343 $pages = empty( $GLOBALS['it_exchange']['registered_pages'] ) ? array() : (array) $GLOBALS['it_exchange']['registered_pages']; 344 344 345 345 if ( ! empty( $options['type'] ) ) { 346 346 foreach( $pages as $page => $page_options ) { … … 349 349 } 350 350 } 351 351 352 352 return $pages; 353 353 } -
ithemes-exchange/trunk/api/theme/billing.php
r1032065 r1071318 21 21 */ 22 22 private $_billing_address = ''; 23 24 /** 25 * @var array 26 */ 27 private $session = array(); 23 28 24 29 /** … … 52 57 function IT_Theme_API_Billing() { 53 58 $this->_billing_address = it_exchange_get_cart_billing_address(); 59 60 if ( it_exchange_in_superwidget() ) { 61 62 $data = it_exchange_get_session_data( "sw-billing" ); 63 64 if ( empty( $data ) ) { 65 $data = array(); 66 } 67 68 $this->session = $data; 69 } 54 70 } 55 71 … … 83 99 $options['value'] = empty( $this->_billing_address['first-name'] ) ? '' : $this->_billing_address['first-name']; 84 100 101 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 102 $options['value'] = $this->session[ $options['field_name'] ]; 103 } 104 85 105 return $this->get_fields( $options ); 86 106 } … … 104 124 $options['value'] = empty( $this->_billing_address['last-name'] ) ? '' : $this->_billing_address['last-name']; 105 125 126 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 127 $options['value'] = $this->session[ $options['field_name'] ]; 128 } 129 106 130 return $this->get_fields( $options ); 107 131 } … … 125 149 $options['value'] = empty( $this->_billing_address['company-name'] ) ? '' : $this->_billing_address['company-name']; 126 150 151 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 152 $options['value'] = $this->session[ $options['field_name'] ]; 153 } 154 127 155 return $this->get_fields( $options ); 128 156 } … … 146 174 $options['value'] = empty( $this->_billing_address['address1'] ) ? '' : $this->_billing_address['address1']; 147 175 176 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 177 $options['value'] = $this->session[ $options['field_name'] ]; 178 } 179 148 180 return $this->get_fields( $options ); 149 181 } … … 167 199 $options['value'] = empty( $this->_billing_address['address2'] ) ? '' : $this->_billing_address['address2']; 168 200 201 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 202 $options['value'] = $this->session[ $options['field_name'] ]; 203 } 204 169 205 return $this->get_fields( $options ); 170 206 } … … 188 224 $options['value'] = empty( $this->_billing_address['city'] ) ? '' : $this->_billing_address['city']; 189 225 226 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 227 $options['value'] = $this->session[ $options['field_name'] ]; 228 } 229 190 230 return $this->get_fields( $options ); 191 231 } … … 208 248 $options['field_name'] = 'it-exchange-billing-address-zip'; 209 249 $options['value'] = empty( $this->_billing_address['zip'] ) ? '' : $this->_billing_address['zip']; 250 251 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 252 $options['value'] = $this->session[ $options['field_name'] ]; 253 } 210 254 211 255 return $this->get_fields( $options ); … … 287 331 // Update value if doing ajax 288 332 $options['value'] = empty( $_POST['ite_base_country_ajax'] ) ? $options['value'] : $_POST['ite_base_country_ajax']; 333 334 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 335 $options['value'] = $this->session[ $options['field_name'] ]; 336 } 289 337 290 338 $countries = it_exchange_get_data_set( 'countries' ); … … 357 405 $options['field_name'] = 'it-exchange-billing-address-state'; 358 406 $options['value'] = empty( $this->_billing_address['state'] ) ? '' : $this->_billing_address['state']; 407 408 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 409 $options['value'] = $this->session[ $options['field_name'] ]; 410 } 359 411 360 412 $states = it_exchange_get_data_set( 'states', array( 'country' => it_exchange( 'billing', 'get-country', array( 'format' => 'value' ) ) ) ); -
ithemes-exchange/trunk/api/theme/coupons.php
r1018864 r1071318 219 219 $amount_number = it_exchange_convert_from_database_number( $this->coupon->amount_number ); 220 220 221 return _x( '-', ' LION', 'negative character for amount of money in coupons' ) . it_exchange_basic_coupons_get_total_discount_for_cart();221 return _x( '-', 'negative character for amount of money in coupons', 'it-l10n-ithemes-exchange' ) . it_exchange_basic_coupons_get_total_discount_for_cart(); 222 222 } 223 223 -
ithemes-exchange/trunk/api/theme/customer.php
r1004481 r1071318 481 481 foreach( $pages as $page_slug ) { 482 482 483 // Skip menu item if disabled 484 if ( 'disabled' == it_exchange_get_page_type( $page_slug ) ) { 485 continue; 486 } 487 483 488 $page_slug = trim( $page_slug ); 484 489 $class = it_exchange_is_page( $page_slug ) ? ' class="current"' : ''; -
ithemes-exchange/trunk/api/theme/registration.php
r1004481 r1071318 21 21 */ 22 22 private $_customer = ''; 23 24 /** 25 * @var array 26 */ 27 private $registration_session = array(); 23 28 24 29 /** … … 50 55 */ 51 56 function IT_Theme_API_Registration() { 57 58 if ( it_exchange_in_superwidget() ) { 59 60 $data = it_exchange_get_session_data( "sw-registration" ); 61 62 if ( empty( $data ) ) { 63 $data = array(); 64 } 65 66 $this->registration_session = $data; 67 } 52 68 } 53 69 … … 116 132 $field_name = $field_id; 117 133 134 if ( isset($this->registration_session[ $field_name ] ) ) { 135 $value = $this->registration_session[ $field_name ]; 136 } else { 137 $value = ''; 138 } 139 118 140 switch( $options['format'] ) { 119 141 … … 130 152 default: 131 153 $output = '<label for="' . $field_id. '">' . esc_attr( $options['label'] ) . '<span class="it-exchange-required-star">*</span></label>'; 132 $output .= '<input type="text" id="' . $field_id. '" name="' . $field_name. '" value=" " />';154 $output .= '<input type="text" id="' . $field_id. '" name="' . $field_name. '" value="' . esc_attr( $value ) .'" />'; 133 155 134 156 } … … 153 175 $field_name = $field_id; 154 176 177 if ( isset($this->registration_session[ $field_name ] ) ) { 178 $value = $this->registration_session[ $field_name ]; 179 } else { 180 $value = ''; 181 } 182 155 183 switch( $options['format'] ) { 156 184 … … 167 195 default: 168 196 $output = '<label for="' . $field_id . '">' . esc_attr( $options['label'] ) . '</label>'; 169 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';197 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 170 198 171 199 } … … 190 218 $field_name = $field_id; 191 219 220 if ( isset($this->registration_session[ $field_name ] ) ) { 221 $value = $this->registration_session[ $field_name ]; 222 } else { 223 $value = ''; 224 } 225 192 226 switch( $options['format'] ) { 193 227 … … 204 238 default: 205 239 $output = '<label for="' . $field_id . '">' . $options['label'] . '</label>'; 206 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';240 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 207 241 208 242 } … … 227 261 $field_name = $field_id; 228 262 263 if ( isset($this->registration_session[ $field_name ] ) ) { 264 $value = $this->registration_session[ $field_name ]; 265 } else { 266 $value = ''; 267 } 268 229 269 switch( $options['format'] ) { 230 270 … … 241 281 default: 242 282 $output = '<label for="' . $field_id . '">' . esc_attr( $options['label'] ) . '<span class="it-exchange-required-star">*</span></label>'; 243 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value=" " />';283 $output .= '<input type="text" id="' . $field_id . '" name="' . $field_name . '" value="' . esc_attr( $value ) .'" />'; 244 284 245 285 } -
ithemes-exchange/trunk/api/theme/shipping.php
r1032065 r1071318 21 21 */ 22 22 private $_shipping_address = ''; 23 24 /** 25 * @var array 26 */ 27 private $session = array(); 23 28 24 29 /** … … 51 56 function IT_Theme_API_Shipping() { 52 57 $this->_shipping_address = it_exchange_get_cart_shipping_address(); 58 59 if ( it_exchange_in_superwidget() ) { 60 61 $data = it_exchange_get_session_data( "sw-shipping" ); 62 63 if ( empty( $data ) ) { 64 $data = array(); 65 } 66 67 $this->session = $data; 68 } 53 69 } 54 70 … … 82 98 $options['value'] = empty( $this->_shipping_address['first-name'] ) ? '' : $this->_shipping_address['first-name']; 83 99 100 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 101 $options['value'] = $this->session[ $options['field_name'] ]; 102 } 103 84 104 return $this->get_fields( $options ); 85 105 } … … 103 123 $options['value'] = empty( $this->_shipping_address['last-name'] ) ? '' : $this->_shipping_address['last-name']; 104 124 125 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 126 $options['value'] = $this->session[ $options['field_name'] ]; 127 } 128 105 129 return $this->get_fields( $options ); 106 130 } … … 124 148 $options['value'] = empty( $this->_shipping_address['company-name'] ) ? '' : $this->_shipping_address['company-name']; 125 149 150 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 151 $options['value'] = $this->session[ $options['field_name'] ]; 152 } 153 126 154 return $this->get_fields( $options ); 127 155 } … … 145 173 $options['value'] = empty( $this->_shipping_address['address1'] ) ? '' : $this->_shipping_address['address1']; 146 174 175 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 176 $options['value'] = $this->session[ $options['field_name'] ]; 177 } 178 147 179 return $this->get_fields( $options ); 148 180 } … … 166 198 $options['value'] = empty( $this->_shipping_address['address2'] ) ? '' : $this->_shipping_address['address2']; 167 199 200 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 201 $options['value'] = $this->session[ $options['field_name'] ]; 202 } 203 168 204 return $this->get_fields( $options ); 169 205 } … … 187 223 $options['value'] = empty( $this->_shipping_address['city'] ) ? '' : $this->_shipping_address['city']; 188 224 225 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 226 $options['value'] = $this->session[ $options['field_name'] ]; 227 } 228 189 229 return $this->get_fields( $options ); 190 230 } … … 208 248 $options['value'] = empty( $this->_shipping_address['zip'] ) ? '' : $this->_shipping_address['zip']; 209 249 250 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 251 $options['value'] = $this->session[ $options['field_name'] ]; 252 } 253 210 254 return $this->get_fields( $options ); 211 255 } … … 231 275 // Update value if doing ajax 232 276 $options['value'] = empty( $_POST['ite_base_country_ajax'] ) ? $options['value'] : $_POST['ite_base_country_ajax']; 277 278 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 279 $options['value'] = $this->session[ $options['field_name'] ]; 280 } 233 281 234 282 $countries = it_exchange_get_data_set( 'countries' ); … … 302 350 $options['field_name'] = 'it-exchange-shipping-address-state'; 303 351 $options['value'] = empty( $this->_shipping_address['state'] ) ? '' : $this->_shipping_address['state']; 352 353 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 354 $options['value'] = $this->session[ $options['field_name'] ]; 355 } 304 356 305 357 $states = it_exchange_get_data_set( 'states', array( 'country' => it_exchange( 'shipping', 'get-country', array( 'format' => 'value' ) ) ) ); … … 369 421 $options['value'] = empty( $this->_shipping_address['email'] ) ? '' : $this->_shipping_address['email']; 370 422 423 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 424 $options['value'] = $this->session[ $options['field_name'] ]; 425 } 426 371 427 return $this->get_fields( $options ); 372 428 } … … 388 444 $options['field_name'] = 'it-exchange-shipping-address-phone'; 389 445 $options['value'] = empty( $this->_shipping_address['phone'] ) ? '' : $this->_shipping_address['phone']; 446 447 if ( empty( $options['value'] ) && ! empty( $this->session[ $options['field_name'] ] ) ) { 448 $options['value'] = $this->session[ $options['field_name'] ]; 449 } 390 450 391 451 return $this->get_fields( $options ); -
ithemes-exchange/trunk/api/transactions.php
r1042138 r1071318 466 466 $transaction->update_status( $status ); 467 467 468 do_action( 'it_exchange_update_transaction_status', $transaction, $old_status, $old_status_cleared );469 do_action( 'it_exchange_update_transaction_status_' . $transaction->transaction_method, $transaction, $old_status, $old_status_cleared );468 do_action( 'it_exchange_update_transaction_status', $transaction, $old_status, $old_status_cleared, $status ); 469 do_action( 'it_exchange_update_transaction_status_' . $transaction->transaction_method, $transaction, $old_status, $old_status_cleared, $status ); 470 470 return $transaction->get_status(); 471 471 } -
ithemes-exchange/trunk/history.txt
r1042138 r1071318 1 1.11.6 - Glenn Ansley, Lew Ayotte, Elise Alley, Timothy Jacobs 2 Fix bug preventing users with '&' in their username from logging in via SW. props Timothy Jacobs <http://ironbounddesigns.com/> 3 Remember the shipping address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 4 Remember the billing address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 5 Remember the registration fields when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 6 Fixed bug that tries to display disabled Exchange profile pages on the user's profile page. props Timothy Jacobs <http://ironbounddesigns.com/> 7 Fix bug causing menu item titles to not display when user_is_logged_in and Exchagne login/logout pages are set to 'disabled' in Settings 8 Properly escape in values in the event that poorly-formatted option names were previously inserted into the options table 9 Fixed improper order of args in call to _x() 10 Add new status to param of actions triggered when a transaction status is changed. 11 Fixed bug that was preventing default WP welcome email from being sent when new users register 12 Extend inline-docs a bit for saving custom billing address fields 1 13 1.11.5 - Glenn Ansley, Lew Ayotte, Elise Alley 2 14 Adding IP address of customer to Transaction meta and on the Transaction page … … 38 50 Add actions for applying/removing basic coupons to/from cart 39 51 Adding new filters and setting new global for add-ons 40 Adding some filters for Table Rate Shipping 52 Adding some filters for Table Rate Shipping 41 53 Add Mexican states to states.php dataset. Props: Darryl Clark 42 54 Fixed bug causing JS error when Image Gallery Settings turn zoom off -
ithemes-exchange/trunk/init.php
r1057567 r1071318 2 2 /* 3 3 * Plugin Name: iThemes Exchange 4 * Version: 1.11. 5.15 * Text Domain: LION4 * Version: 1.11.6 5 * Text Domain: it-l10n-ithemes-exchange 6 6 * Description: Easily sell your digital goods with iThemes Exchange, simple ecommerce for WordPress 7 7 * Plugin URI: http://ithemes.com/exchange/ 8 8 * Author: iThemes 9 9 * Author URI: http://ithemes.com 10 10 * 11 11 * Installation: 12 12 * 1. Download and unzip the latest release zip file. … … 25 25 class IT_Exchange { 26 26 27 var $_version = '1.11. 5.1';27 var $_version = '1.11.6'; 28 28 var $_wp_minimum = '3.5'; 29 29 var $_slug = 'it-exchange'; -
ithemes-exchange/trunk/lang/it-l10n-ithemes-exchange-es_MX.po
r1035942 r1071318 2488 2488 2489 2489 #: api/theme/coupons.php:221 2490 msgctxt " LION"2490 msgctxt "it-l10n-ithemes-exchange" 2491 2491 msgid "-" 2492 2492 msgstr "-" -
ithemes-exchange/trunk/lang/it-l10n-ithemes-exchange-nl_NL.po
r1018864 r1071318 2492 2492 2493 2493 #: api/theme/coupons.php:221 2494 msgctxt " LION"2494 msgctxt "it-l10n-ithemes-exchange" 2495 2495 msgid "-" 2496 2496 msgstr "-" -
ithemes-exchange/trunk/lang/ithemes-exchange.pot
r1042138 r1071318 1 # Copyright (C) 201 4iThemes Exchange1 # Copyright (C) 2015 iThemes Exchange 2 2 # This file is distributed under the same license as the iThemes Exchange package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: iThemes Exchange 1.11. 5\n"5 "Project-Id-Version: iThemes Exchange 1.11.6\n" 6 6 "Report-Msgid-Bugs-To: http://ithemes.com/forum/\n" 7 "POT-Creation-Date: 201 4-12-10 19:07:50+00:00\n"8 "PO-Revision-Date: 201 4-MO-DA HO:MI+ZONE\n"7 "POT-Creation-Date: 2015-01-19 20:51:55+00:00\n" 8 "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" … … 2506 2506 msgstr "" 2507 2507 2508 #: api/theme/billing.php: 76api/theme/customer.php:1412509 #: api/theme/registration.php:1 48 api/theme/shipping.php:752508 #: api/theme/billing.php:92 api/theme/customer.php:141 2509 #: api/theme/registration.php:170 api/theme/shipping.php:91 2510 2510 msgid "First Name" 2511 2511 msgstr "" 2512 2512 2513 #: api/theme/billing.php: 97 api/theme/customer.php:1822514 #: api/theme/registration.php: 185 api/theme/shipping.php:962513 #: api/theme/billing.php:117 api/theme/customer.php:182 2514 #: api/theme/registration.php:213 api/theme/shipping.php:116 2515 2515 msgid "Last Name" 2516 2516 msgstr "" 2517 2517 2518 #: api/theme/billing.php:1 18 api/theme/shipping.php:1172518 #: api/theme/billing.php:142 api/theme/shipping.php:141 2519 2519 #: lib/admin/views/admin-settings.php:60 2520 2520 msgid "Company Name" 2521 2521 msgstr "" 2522 2522 2523 #: api/theme/billing.php:1 39 api/theme/shipping.php:1382523 #: api/theme/billing.php:167 api/theme/shipping.php:166 2524 2524 msgid "Address" 2525 2525 msgstr "" 2526 2526 2527 #: api/theme/billing.php:1 60 api/theme/shipping.php:1592527 #: api/theme/billing.php:192 api/theme/shipping.php:191 2528 2528 #: lib/shipping/class.shipping.php:301 2529 2529 msgid "Address 2" 2530 2530 msgstr "" 2531 2531 2532 #: api/theme/billing.php: 181 api/theme/shipping.php:1802532 #: api/theme/billing.php:217 api/theme/shipping.php:216 2533 2533 #: lib/shipping/class.shipping.php:311 2534 2534 msgid "City" 2535 2535 msgstr "" 2536 2536 2537 #: api/theme/billing.php:2 02 api/theme/shipping.php:2012537 #: api/theme/billing.php:242 api/theme/shipping.php:241 2538 2538 msgid "Zip Code" 2539 2539 msgstr "" 2540 2540 2541 #: api/theme/billing.php:2 302541 #: api/theme/billing.php:274 2542 2542 msgid "Ship to billing address?" 2543 2543 msgstr "" 2544 2544 2545 #: api/theme/billing.php: 278 api/theme/shipping.php:2222545 #: api/theme/billing.php:322 api/theme/shipping.php:266 2546 2546 msgid "Country" 2547 2547 msgstr "" 2548 2548 2549 #: api/theme/billing.php:3 47 api/theme/shipping.php:2912549 #: api/theme/billing.php:395 api/theme/shipping.php:339 2550 2550 #: lib/shipping/class.shipping.php:631 2551 2551 msgid "State" 2552 2552 msgstr "" 2553 2553 2554 #: api/theme/billing.php:4 18api/theme/customer.php:2662555 #: api/theme/registration.php:2 22 api/theme/shipping.php:3632554 #: api/theme/billing.php:470 api/theme/customer.php:266 2555 #: api/theme/registration.php:256 api/theme/shipping.php:415 2556 2556 #: core-addons/load.php:316 2557 2557 msgid "Email" 2558 2558 msgstr "" 2559 2559 2560 #: api/theme/billing.php:4 39 api/theme/shipping.php:3832560 #: api/theme/billing.php:491 api/theme/shipping.php:439 2561 2561 msgid "Phone" 2562 2562 msgstr "" 2563 2563 2564 #: api/theme/billing.php: 460 api/theme/shipping.php:4032564 #: api/theme/billing.php:512 api/theme/shipping.php:463 2565 2565 msgid "Submit" 2566 2566 msgstr "" 2567 2567 2568 #: api/theme/billing.php: 479api/theme/checkout.php:93 api/theme/login.php:3322569 #: api/theme/registration.php: 368 api/theme/shipping-method.php:1652570 #: api/theme/shipping.php:4 222568 #: api/theme/billing.php:531 api/theme/checkout.php:93 api/theme/login.php:332 2569 #: api/theme/registration.php:408 api/theme/shipping-method.php:165 2570 #: api/theme/shipping.php:482 2571 2571 #: core-addons/admin/guest-checkout/lib/template-functions.php:210 2572 2572 #: core-addons/coupons/basic-coupons/admin.php:390 … … 2619 2619 2620 2620 #: api/theme/coupons.php:221 2621 msgctxt " LION"2621 msgctxt "negative character for amount of money in coupons" 2622 2622 msgid "-" 2623 2623 msgstr "" … … 2632 2632 2633 2633 #: api/theme/customer.php:348 api/theme/login.php:147 2634 #: api/theme/registration.php:2 592634 #: api/theme/registration.php:299 2635 2635 msgid "Password" 2636 2636 msgstr "" 2637 2637 2638 #: api/theme/customer.php:385 api/theme/registration.php: 2962638 #: api/theme/customer.php:385 api/theme/registration.php:336 2639 2639 msgid "Confirm Password" 2640 2640 msgstr "" … … 2644 2644 msgstr "" 2645 2645 2646 #: api/theme/customer.php:5 352646 #: api/theme/customer.php:540 2647 2647 msgid "View your Account" 2648 2648 msgstr "" 2649 2649 2650 #: api/theme/customer.php:57 02650 #: api/theme/customer.php:575 2651 2651 msgid "Thank you for your order. An email confirmation has been sent to %s." 2652 2652 msgstr "" … … 2667 2667 msgstr "" 2668 2668 2669 #: api/theme/login.php:110 api/theme/registration.php:1 112669 #: api/theme/login.php:110 api/theme/registration.php:127 2670 2670 msgid "Username" 2671 2671 msgstr "" … … 2683 2683 msgstr "" 2684 2684 2685 #: api/theme/login.php:297 api/theme/registration.php:3 332685 #: api/theme/login.php:297 api/theme/registration.php:373 2686 2686 #: lib/templates/content-checkout/elements/purchase-requirements/logged-in/elements/login/register.php:20 2687 2687 msgid "Register" … … 2758 2758 msgstr "" 2759 2759 2760 #: api/theme/registration.php:4 122760 #: api/theme/registration.php:452 2761 2761 msgid "Registration Disabled" 2762 2762 msgstr "" … … 2871 2871 msgstr "" 2872 2872 2873 #. #-#-#-#-# ithemes-exchange.pot (iThemes Exchange 1.11. 5) #-#-#-#-#2873 #. #-#-#-#-# ithemes-exchange.pot (iThemes Exchange 1.11.6) #-#-#-#-# 2874 2874 #. Plugin Name of the plugin/theme 2875 2875 #: core-addons/admin/basic-reporting/init.php:19 … … 5475 5475 msgstr "" 5476 5476 5477 #: lib/cart/class.cart.php:171 lib/cart/class.cart.php:5 485477 #: lib/cart/class.cart.php:171 lib/cart/class.cart.php:553 5478 5478 msgid "Product added to cart" 5479 5479 msgstr "" … … 5496 5496 msgstr "" 5497 5497 5498 #: lib/cart/class.cart.php:43 15498 #: lib/cart/class.cart.php:436 5499 5499 msgid "Billing Address Saved" 5500 5500 msgstr "" 5501 5501 5502 #: lib/cart/class.cart.php:53 05502 #: lib/cart/class.cart.php:535 5503 5503 msgid "Unknown error. Please try again." 5504 5504 msgstr "" 5505 5505 5506 #: lib/cart/class.cart.php:54 05506 #: lib/cart/class.cart.php:545 5507 5507 msgid "Please select a payment method" 5508 5508 msgstr "" 5509 5509 5510 #: lib/cart/class.cart.php:54 15510 #: lib/cart/class.cart.php:546 5511 5511 msgid "There was an error processing your transaction. Please try again." 5512 5512 msgstr "" 5513 5513 5514 #: lib/cart/class.cart.php:54 25514 #: lib/cart/class.cart.php:547 5515 5515 msgid "Product not removed from cart. Please try again." 5516 5516 msgstr "" 5517 5517 5518 #: lib/cart/class.cart.php:54 35518 #: lib/cart/class.cart.php:548 5519 5519 msgid "There was an error emptying your cart. Please try again." 5520 5520 msgstr "" 5521 5521 5522 #: lib/cart/class.cart.php:54 45522 #: lib/cart/class.cart.php:549 5523 5523 msgid "There was an error updating your cart. Please try again." 5524 5524 msgstr "" 5525 5525 5526 #: lib/cart/class.cart.php:5 455526 #: lib/cart/class.cart.php:550 5527 5527 msgid "Cart Updated." 5528 5528 msgstr "" 5529 5529 5530 #: lib/cart/class.cart.php:5 465530 #: lib/cart/class.cart.php:551 5531 5531 msgid "Cart Emptied" 5532 5532 msgstr "" 5533 5533 5534 #: lib/cart/class.cart.php:5 475534 #: lib/cart/class.cart.php:552 5535 5535 msgid "Product removed from cart." 5536 5536 msgstr "" -
ithemes-exchange/trunk/lib/cart/class.cart.php
r1024556 r1071318 409 409 } 410 410 411 /** @todo This is hardcoded for now. will be more flexible at some point **/ 411 /** 412 * @todo This is hardcoded for now. will be more flexible at some point 413 * If you're having trouble getting your custom field to save, make sure that your form field's name 414 * matches what we're looking for in the REQUEST below. eg: adding 'custom-form' to the $fields var 415 * via this next filter means that your form field name has to be: 'it-exchange-billing-address-custom-form' 416 */ 412 417 $billing = array(); 413 418 $fields = apply_filters( 'it_exchange_billing_address_fields', array( -
ithemes-exchange/trunk/lib/sessions/db_session_manager/db-session.php
r1008592 r1071318 157 157 // Delete all expired sessions in a single query 158 158 if ( ! empty( $expired_sessions ) ) { 159 $option_names = implode( "','", $expired_sessions ); 160 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name IN ('$option_names')" ); 159 $formatted = implode( ', ', array_fill( 0, count( $expired_sessions ), '%s' ) ); 160 $query = $wpdb->prepare( "DELETE FROM $wpdb->options WHERE option_name IN ($formatted)", $expired_sessions ); 161 $wpdb->query( $query ); 161 162 } 162 163 } … … 193 194 // Delete all sessions in a single query 194 195 if ( ! empty( $expired_sessions ) ) { 195 $option_names = implode( "','", $expired_sessions ); 196 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name IN ('$option_names')" ); 196 $formatted = implode( ', ', array_fill( 0, count( $expired_sessions ), '%s' ) ); 197 $query = $wpdb->prepare( "DELETE FROM $wpdb->options WHERE option_name IN ($formatted)", $expired_sessions ); 198 $wpdb->query( $query ); 197 199 } 198 200 } -
ithemes-exchange/trunk/lib/super-widget/ajax.php
r935226 r1071318 90 90 // Login 91 91 if ( 'login' == $action ) { 92 $creds['user_login'] = empty( $_POST['log'] ) ? '' : esc_attr( $_POST['log'] );93 $creds['user_password'] = empty( $_POST['pwd'] ) ? '' : esc_attr( $_POST['pwd'] );94 $creds['remember'] = empty( $_POST['rememberme'] ) ? '' : esc_attr( $_POST['rememberme'] );92 $creds['user_login'] = empty( $_POST['log'] ) ? '' : urldecode( $_POST['log'] ); 93 $creds['user_password'] = empty( $_POST['pwd'] ) ? '' : urldecode( $_POST['pwd'] ); 94 $creds['remember'] = empty( $_POST['rememberme'] ) ? '' : urldecode( $_POST['rememberme'] ); 95 95 96 96 $user = wp_signon( $creds, false ); … … 113 113 // Clearing the user pass will prevent the user email from being sent 114 114 $email_pw = apply_filters( 'it_exchange_send_customer_registration_email', true ) ? $_POST['pass1'] : ''; 115 wp_new_user_notification( $user_id, $email_p ass);115 wp_new_user_notification( $user_id, $email_pw ); 116 116 117 117 $creds = array( … … 121 121 122 122 $user = wp_signon( $creds ); 123 if ( ! is_wp_error( $user ) ) 123 if ( ! is_wp_error( $user ) ) { 124 124 it_exchange_add_message( 'notice', __( 'Registered and logged in as ', 'it-l10n-ithemes-exchange' ) . $user->user_login ); 125 else125 } else { 126 126 it_exchange_add_message( 'error', $result->get_error_message() ); 127 } 128 129 // Clear form values we saved in case of error 130 it_exchange_clear_session_data( 'sw-registration' ); 131 127 132 die('1'); 128 133 } else { 129 134 it_exchange_add_message( 'error', $user_id->get_error_message() ); 135 136 // clear out the passwords before we save the data to the session 137 unset( $_POST['pass1'] ); 138 unset( $_POST['pass2'] ); 139 140 if ( $user_id->get_error_message( 'user_login' ) ) { 141 unset( $_POST['user_login'] ); 142 } 143 144 if ( $user_id->get_error_message( 'invalid_email' ) || $user_id->get_error_message( 'email_exists' ) ) { 145 unset( $_POST['email'] ); 146 } 147 148 it_exchange_update_session_data( 'sw-registration', $_POST ); 149 130 150 die('0'); 131 151 } … … 135 155 if ( 'update-shipping' == $action ) { 136 156 // This function will either updated the value or create an error and return 1 or 0 137 die( $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_shipping_address_request() ); 157 158 $shipping_result = $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_shipping_address_request(); 159 160 if ( ! $shipping_result ) { 161 it_exchange_update_session_data( "sw-shipping", $_POST ); 162 } else { 163 it_exchange_clear_session_data( "sw-shipping" ); 164 } 165 166 die( $shipping_result ); 138 167 } 139 168 … … 141 170 if ( 'update-billing' == $action ) { 142 171 // This function will either updated the value or create an error and return 1 or 0 143 die( $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_billing_address_request() ); 172 173 $billing_result = $GLOBALS['IT_Exchange_Shopping_Cart']->handle_update_billing_address_request(); 174 175 if ( ! $billing_result ) { 176 it_exchange_update_session_data( "sw-billing", $_POST ); 177 } else { 178 it_exchange_clear_session_data( "sw-billing" ); 179 } 180 181 die( $billing_result ); 144 182 } 145 183 -
ithemes-exchange/trunk/readme.txt
r1057567 r1071318 4 4 Requires at least: 3.7 5 5 Tested up to: 4.1 6 Stable tag: 1.11. 5.16 Stable tag: 1.11.6 7 7 License: GPLv2 or later 8 8 … … 88 88 89 89 == Changelog == 90 = 1.11.5.1 = 91 * Fix missing font-icons 90 91 = 1.11.6 = 92 * Fix bug preventing users with '&' in their username from logging in via SW. props Timothy Jacobs <http://ironbounddesigns.com/> 93 * Remember the shipping address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 94 * Remember the billing address when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 95 * Remember the registration fields when errors are present on SW form. props Timothy Jacobs <http://ironbounddesigns.com/> 96 * Fixed bug that tries to display disabled Exchange profile pages on the user's profile page. props Timothy Jacobs <http://ironbounddesigns.com/> 97 * Fix bug causing menu item titles to not display when user_is_logged_in and Exchagne login/logout pages are set to 'disabled' in Settings 98 * Properly escape in values in the event that poorly-formatted option names were previously inserted into the options table 99 * Fixed improper order of args in call to _x() 100 * Add new status to param of actions triggered when a transaction status is changed. 101 * Fixed bug that was preventing default WP welcome email from being sent when new users register 102 * Extend inline-docs a bit for saving custom billing address fields 92 103 93 104 = 1.11.5 = … … 135 146 * Add actions for applying/removing basic coupons to/from cart 136 147 * Adding new filters and setting new global for add-ons 137 * Adding some filters for Table Rate Shipping 148 * Adding some filters for Table Rate Shipping 138 149 * Add Mexican states to states.php dataset. Props: Darryl Clark 139 150 * Fixed bug causing JS error when Image Gallery Settings turn zoom off
Note: See TracChangeset
for help on using the changeset viewer.