Plugin Directory

Changeset 975330


Ignore:
Timestamp:
08/29/2014 04:37:46 PM (12 years ago)
Author:
2kblater.com
Message:

v1.0.5

Location:
2kb-amazon-affiliates-store/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 2kb-amazon-affiliates-store/trunk/plugin.php

    r932409 r975330  
    44 * Plugin URI: http://www.2kblater.com/?p=8318
    55 * Description: Amazon Affiliate Store Plugin With Cart, Checkout, Custom Themes. Easy to manage and setup. Sell wide range of physical and digital products imported from Amazon Affiliate API using 90 days cookie reference. This plugin is released with GPL2 license.
    6  * Version: 1.0.3
     6 * Version: 1.0.5
    77 * Author: 2kblater.com
    88 * Author URI: http://www.2kblater.com
     
    1616}
    1717
    18 define('KbAmazonVersion', '1.0.3');
    19 define('KbAmazonVersionNumber', 103);
     18define('KbAmazonVersion', '1.0.5');
     19define('KbAmazonVersionNumber', 105);
    2020define('KbAmazonStoreFolderName',  pathinfo(dirname(__FILE__), PATHINFO_FILENAME));
    2121define('KbAmazonStorePluginPath',  dirname(__FILE__) . '/');
  • 2kb-amazon-affiliates-store/trunk/readme.txt

    r975024 r975330  
    3737== Changelog ==
    3838
     39= 1.0.5 =
     40Category fix in [kb_amz_list_products]
    3941= 1.0.4 =
    4042Some bugs got fixed. Thank you for your support.
  • 2kb-amazon-affiliates-store/trunk/store_shortcodes.php

    r932025 r975330  
    304304    $category = null;
    305305    if (!empty($atts['category'])) {
    306         $id = is_numeric($atts['category'])
     306        $category = is_numeric($atts['category'])
    307307            ? $atts['category']
    308308            : get_cat_ID($atts['category']);
    309         $category = get_category($id);
    310     }
    311    
    312     $atts['category']       = is_object($category) ? $category->ID : null;
     309    }
     310   
     311    $atts['cat']            = $category;
    313312    $atts['post_type']      = 'post';
    314313    $atts['meta_key']       = 'KbAmzASIN';
    315314    $atts['post_status']    = 'any';
    316315    $atts['paged']          = getKbAmzPaged();
    317 
     316   
    318317    if (isset($atts['attributeKey']) && isset($atts['attributeValue'])) {
    319318        $atts['meta_query'] = array(
  • 2kb-amazon-affiliates-store/trunk/template/admin/version.phtml

    r975024 r975330  
    11<div class="row" id="kb-amz-version">
    22    <div class="col-sm-12">
     3        <h4>1.0.5</h4>
     4        <ul style="list-style-type: disc;">
     5            <li>Category fix in [kb_amz_list_products]</li>
     6        </ul>
    37        <h4>1.0.4</h4>
    48        <ul style="list-style-type: disc;">
Note: See TracChangeset for help on using the changeset viewer.