WordPress.org

Plugin Directory

Changeset 337628


Ignore:
Timestamp:
01/26/11 22:52:44 (3 years ago)
Author:
JustinSainton
Message:

Fix to Latest Product widget. Good job, Ben!

Location:
wp-e-commerce/branches/3.8-development
Files:
2 edited

Legend:

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

    r337616 r337628  
    270270            wp_enqueue_style( 'wp-e-commerce-admin', WPSC_URL . '/wpsc-admin/css/admin.css', false, $version_identifier, 'all' ); 
    271271            wp_enqueue_style( 'wp-e-commerce-admin-dynamic', $siteurl . "/wp-admin/admin.php?wpsc_admin_dynamic_css=true", false, $version_identifier, 'all' ); 
    272             // wp_localize_script( 'wp-e-commerce-admin', 'dragndrop', array( 'set' => ( get_option( 'wpsc_sort_by' ) == 'dragndrop' ? 'true' : 'false' ) ) ); 
    273  
    274             // Localize scripts 
     272                // Localize scripts 
    275273            wp_localize_script('wp-e-commerce-admin', 'wpsc_adminL10n', array( 
    276274                'unsaved_changes_detected' => __('Unsaved changes have been detected. Click OK to lose these changes and continue.', 'wpsc'), 
  • wp-e-commerce/branches/3.8-development/wpsc-widgets/latest_product_widget.php

    r334402 r337628  
    132132        'orderby'     => 'post_date', 
    133133        'post_parent' => 0, 
    134         'post_status' => 'all', 
     134        'post_status' => 'publish', 
    135135        'order'       => 'DESC' 
    136136    ) ); 
Note: See TracChangeset for help on using the changeset viewer.