Plugin Directory

Changeset 1169129


Ignore:
Timestamp:
05/28/2015 07:11:12 AM (11 years ago)
Author:
Shopello
Message:

New release 2.5.0

Location:
shopello/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • shopello/trunk/readme.txt

    r1165706 r1169129  
    55Requires at least: 4.2.0
    66Tested up to: 4.2.2
    7 Stable tag: 2.4.4
     7Stable tag: 2.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5151
    5252== Changelog ==
     53= 2.5.0 =
     54* Some users experienced issues regarding "json_decode", fixed the cause of the
     55issue and added migration to repair the database.
     56
    5357= 2.4.4 =
    5458* PHP 5.3 Regression
  • shopello/trunk/shopello_api.php

    r1165706 r1169129  
    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.4.4
     10 * Version: 2.5.0
    1111 * Author: Shopello AB
    1212 */
  • shopello/trunk/src/admin.php

    r1165651 r1169129  
    1919function sanitize_swp_items()
    2020{
    21     return (object) \Shopello\ListingManager::getInstance()->getAllListings();
     21    return json_encode((object) \Shopello\ListingManager::getInstance()->getAllListings());
    2222}
    2323
  • shopello/trunk/src/dbinstall.php

    r1165651 r1169129  
    22
    33global $shopello_db_version;
    4 $shopello_db_version = '3.1';
     4$shopello_db_version = '3.2';
    55
    66// On plugin activate, install database tables
     
    9696    update_option('shopello_db_version', '3.1');
    9797}
     98
     99/**
     100 * We had overlooked a piece of code and got data stored incorrectly, this
     101 * migration intend to fix that.
     102 */
     103if (get_option('shopello_db_version') === '3.1') {
     104    $data = get_option('shopello_list');
     105
     106    if ('object' === gettype($data)) {
     107        update_option('shopello_list', json_encode($data));
     108    }
     109
     110    update_option('shopello_db_version', '3.2');
     111}
  • shopello/trunk/vendor/autoload.php

    r1165706 r1169129  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInit891443df57c7790d99977d5422fd34e6::getLoader();
     7return ComposerAutoloaderInitf03060d906c4e7b64b580d6f474da9cc::getLoader();
  • shopello/trunk/vendor/composer/autoload_real.php

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