Plugin Directory

Changeset 1171701


Ignore:
Timestamp:
06/01/2015 09:41:52 AM (11 years ago)
Author:
Shopello
Message:

New release 2.5.2

Location:
shopello/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • shopello/trunk/readme.txt

    r1169171 r1171701  
    55Requires at least: 4.2.0
    66Tested up to: 4.2.2
    7 Stable tag: 2.5.1
     7Stable tag: 2.5.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5151
    5252== Changelog ==
     53= 2.5.2 =
     54* Fixed regression in the Listing Management.
     55* Repaired a small case of database corruption.
     56
    5357= 2.5.1 =
    5458* Fixed regression in the "Test API" button in settings.
  • shopello/trunk/shopello_api.php

    r1169171 r1171701  
    88 * Plugin URI: http://shopello.se/api/wordpress
    99 * Description: This plugin was created to allow wordpress blogs and websites to in a simple manner include listings of products from Shopello.se.
    10  * Version: 2.5.1
     10 * Version: 2.5.2
    1111 * Author: Shopello AB
    1212 */
  • shopello/trunk/src/dbinstall.php

    r1169129 r1171701  
    22
    33global $shopello_db_version;
    4 $shopello_db_version = '3.2';
     4$shopello_db_version = '3.3';
    55
    66// On plugin activate, install database tables
     
    110110    update_option('shopello_db_version', '3.2');
    111111}
     112
     113/**
     114 * Migration to add ID's to the listing objects
     115 */
     116if (get_option('shopello_db_version') === '3.2') {
     117    $items = json_decode(get_option('shopello_list'));
     118
     119    foreach ($items as $id => $item) {
     120        $items->$id->id = $id;
     121    }
     122
     123    update_option('shopello_list', json_encode($items));
     124    update_option('shopello_db_version', '3.3');
     125}
  • shopello/trunk/src/templates/admin/product-lists.php

    r1163278 r1171701  
    4242                    <?php
    4343                    // Get stashed shortcodes
    44                     foreach ($items as $item) :
     44                    foreach ($items as $id => $item) :
    4545                    ?>
    4646                        <tr>
     
    4848                            <td width="40%"><span class="swp_item_desc"><?php echo $item->get_description(DESC_DELIMITER);?></span></td>
    4949                            <td width="10%">
    50                                 <input type="hidden" name="swp_item_id" class="swp_item_id" value="<?php echo $item->get_id(); ?>"/>
     50                                <input type="hidden" name="swp_item_id" class="swp_item_id" value="<?php echo $id ?>"/>
    5151                                <input type="button" class="button remove" value="Ta bort" />
    5252                            </td>
  • shopello/trunk/vendor/autoload.php

    r1169171 r1171701  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInit78e8447a098349254557e0687920b509::getLoader();
     7return ComposerAutoloaderInit60e3c1b9fcf8df2db4630c3c0df8792f::getLoader();
  • shopello/trunk/vendor/composer/autoload_real.php

    r1169171 r1171701  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit78e8447a098349254557e0687920b509
     5class ComposerAutoloaderInit60e3c1b9fcf8df2db4630c3c0df8792f
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit78e8447a098349254557e0687920b509', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit60e3c1b9fcf8df2db4630c3c0df8792f', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit78e8447a098349254557e0687920b509', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit60e3c1b9fcf8df2db4630c3c0df8792f', 'loadClassLoader'));
    2525
    2626        $map = require __DIR__ . '/autoload_namespaces.php';
     
    4545}
    4646
    47 function composerRequire78e8447a098349254557e0687920b509($file)
     47function composerRequire60e3c1b9fcf8df2db4630c3c0df8792f($file)
    4848{
    4949    require $file;
Note: See TracChangeset for help on using the changeset viewer.