Plugin Directory

Changeset 2295147


Ignore:
Timestamp:
04/30/2020 09:08:23 AM (6 years ago)
Author:
spreadr
Message:

Version 1.0.1 - bug fixes

Location:
spreadr-for-woocomerce
Files:
9 added
4 edited

Legend:

Unmodified
Added
Removed
  • spreadr-for-woocomerce/trunk/includes/class-spreadr-install.php

    r2286331 r2295147  
    7070    private static function maybe_enable_setup_wizard() {
    7171
    72         if (isset($_GET['plugin']) && $_GET['plugin'] == 'spreadr/spreadr.php') {
     72        if (isset($_GET['plugin']) && $_GET['plugin'] == 'spreadr-for-woocomerce/spreadr.php') {
    7373
    7474            $user = wp_get_current_user();
  • spreadr-for-woocomerce/trunk/includes/spreadr-core-functions.php

    r2286331 r2295147  
    7575    $price = $product['variants'][0]['price'];
    7676    $compare_price = $product['variants'][0]['compare_at_price'];
    77 
     77   
     78    if($published == true){
     79        $published = 'publish';
     80    }else{
     81        $published = 'draft';
     82    }
    7883    $post_id = wp_insert_post( array(
    7984        'post_title' => $title,
    8085        'post_content' => $description,
    81         'post_status' => 'publish',
     86        'post_status' => $published,
    8287        'post_type' => "product",
    8388    ) );
     89
    8490
    8591
  • spreadr-for-woocomerce/trunk/readme.txt

    r2286331 r2295147  
    8787== Changelog ==
    88881.0.0 - April 18, 2020
     891.0.1 - April 30, 2020
    8990
    9091== Upgrade Notice ==
  • spreadr-for-woocomerce/trunk/spreadr.php

    r2286331 r2295147  
    55 * Plugin URI: https://spreadr.co/woocommerce
    66 * Description: Use Spreadr Plugin to import products from Amazon to your WooCommerce store. Earn commissions via Amazon Affiliate Program or run your dropshipping business.
    7  * Version: 1.0.0
     7 * Version: 1.0.1
    88 * Author: spreadr
    99 * Author URI: https://spreadr.co
Note: See TracChangeset for help on using the changeset viewer.