Support » Plugin: WP eCommerce » [3.8.9] Multi-site broken

  • Resolved Web Match

    (@webmatch)


    From our technical staff:


    The E-commerce plugin was not completely testen within multisite setups it seems. It is fixed for us now.

    Could you give the following patchfile to the author of the plugin? Then he could fix this in upcoming versions.

    --- wpsc-functions.php-dist     2012-10-30 09:38:52.000000000 +0100
    +++ wpsc-functions.php  2012-10-30 09:32:41.000000000 +0100
    @@ -1656,6 +1656,7 @@
      *                        if otherwise.
      */
     function wpsc_get_all_customer_meta( $id = false ) {
    +       global $wpdb;
            if ( ! $id )
                    $id = wpsc_get_current_customer_id();
    
    @@ -1712,6 +1713,7 @@
      *                             if otherwise.
      */
     function wpsc_update_all_customer_meta( $profile, $id = false ) {
    +       global $wpdb;
            if ( ! $id )
                    $id = wpsc_get_current_customer_id( 'create' );

    http://wordpress.org/extend/plugins/wp-e-commerce/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[3.8.9] Multi-site broken’ is closed to new replies.