parent
7cd82b18dc
commit
14126a6188
|
@ -165,6 +165,10 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= X =
|
||||
* Localization - Netherlands, Hungarian, Taiwan, Italian, Spanish updates.
|
||||
* Other minor fixes and localisation updates.
|
||||
|
||||
= 2.0.8 - 17/04/2013 =
|
||||
* Feature - Related products shortcode.
|
||||
* Tweak - Order item meta - skip serialized fields.
|
||||
|
|
|
@ -407,9 +407,12 @@ if ( ! function_exists( 'woocommerce_disable_admin_bar' ) ) {
|
|||
* @param mixed $user
|
||||
* @return void
|
||||
*/
|
||||
function woocommerce_load_persistent_cart( $user_login, $user ) {
|
||||
function woocommerce_load_persistent_cart( $user_login, $user = 0 ) {
|
||||
global $woocommerce;
|
||||
|
||||
if ( ! $user )
|
||||
return;
|
||||
|
||||
$saved_cart = get_user_meta( $user->ID, '_woocommerce_persistent_cart', true );
|
||||
|
||||
if ( $saved_cart )
|
||||
|
|
Loading…
Reference in New Issue