Changeset 1264891
- Timestamp:
- 10/13/2015 01:18:05 PM (10 years ago)
- Location:
- shopello/trunk
- Files:
-
- 5 edited
-
readme.txt (modified) (2 diffs)
-
shopello_api.php (modified) (1 diff)
-
src/classes/SWP/ApiClient.php (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopello/trunk/readme.txt
r1263839 r1264891 5 5 Requires at least: 4.2.0 6 6 Tested up to: 4.3 7 Stable tag: 2. 7.57 Stable tag: 2.8.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 = 2.8.0 = 53 * This is also the last planned release of this plugin. 54 * Resolved major cache-bug in API result. This should resolve image-issues. 55 52 56 = 2.7.5 = 53 57 * This is the last planned release of this plugin. -
shopello/trunk/shopello_api.php
r1263839 r1264891 8 8 * Plugin URI: http://shopello.se/api/wordpress 9 9 * 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. 7.510 * Version: 2.8.0 11 11 * Author: Shopello AB 12 12 */ -
shopello/trunk/src/classes/SWP/ApiClient.php
r1155987 r1264891 35 35 public function __call($method, $params) 36 36 { 37 $cacheKey = 'swp_'.$method.'_'.md5(json_encode($params)); 37 // Limit cachekey length to max characters in the database field 38 $cacheKey = 'swp_'.$method.'_'.substr(md5(json_encode($params)), 0, 16); 38 39 39 40 $data = get_transient($cacheKey); 40 41 41 if (false === $data || false === $this->cache) {42 if (false === $data) { 42 43 $data = call_user_func_array(array($this->shopelloApi, $method), $params); 43 44 44 set_transient($cacheKey, $data, 3600); 45 if (false !== $this->cache) { 46 set_transient($cacheKey, $data, 3600); 47 } 45 48 } 46 49 -
shopello/trunk/vendor/autoload.php
r1263839 r1264891 5 5 require_once __DIR__ . '/composer' . '/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 755733c9d2634fb1fc2af1c72063bdf6::getLoader();7 return ComposerAutoloaderInit1a7a22062b2140d570426a4dd59cb166::getLoader(); -
shopello/trunk/vendor/composer/autoload_real.php
r1263839 r1264891 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 755733c9d2634fb1fc2af1c72063bdf65 class ComposerAutoloaderInit1a7a22062b2140d570426a4dd59cb166 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 755733c9d2634fb1fc2af1c72063bdf6', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit1a7a22062b2140d570426a4dd59cb166', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 755733c9d2634fb1fc2af1c72063bdf6', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit1a7a22062b2140d570426a4dd59cb166', 'loadClassLoader')); 25 25 26 26 $map = require __DIR__ . '/autoload_namespaces.php'; … … 45 45 } 46 46 47 function composerRequire 755733c9d2634fb1fc2af1c72063bdf6($file)47 function composerRequire1a7a22062b2140d570426a4dd59cb166($file) 48 48 { 49 49 require $file;
Note: See TracChangeset
for help on using the changeset viewer.