WordPress.org

Plugin Directory

Changeset 342279


Ignore:
Timestamp:
02/08/11 07:15:10 (3 years ago)
Author:
JustinSainton
Message:

Taking a stab at Roy Ho.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce/branches/3.8-development/wpsc-admin/includes/product-functions.php

    r342229 r342279  
    4545    global $current_screen, $wpdb; 
    4646 
    47     if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) 
    48         return $post_ID; 
    49      
    50     if( $current_screen->id != 'wpsc-product' ) 
    51        return; 
     47    if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || $current_screen->id != 'wpsc-product' ) 
     48            return $post_ID; 
     49     
    5250    //Type-casting ( not so much sanitization, which would be good to do ) 
    5351    $post_data = $_POST; 
Note: See TracChangeset for help on using the changeset viewer.