Changeset 1105356
- Timestamp:
- 03/04/2015 07:27:39 PM (11 years ago)
- Location:
- shopsite-plugin/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
shopsite.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopsite-plugin/trunk/readme.txt
r1104510 r1105356 26 26 27 27 == Changelog == 28 = 1.5.3 = 29 * Fix for PHP versions less than 5.4. 30 28 31 = 1.5.2 = 29 32 * Don't require SSL verification of secure URLs. -
shopsite-plugin/trunk/shopsite.php
r1104510 r1105356 2 2 /** 3 3 * @package ShopSite 4 * @version 1.5. 24 * @version 1.5.3 5 5 */ 6 6 /* … … 9 9 Description: ShopSite plugin to put products into your WordPress blog 10 10 Author: ShopSite 11 Version: 1.5. 211 Version: 1.5.3 12 12 Author URI: http://shopsite.com/ 13 13 */ … … 58 58 59 59 function load_plugin() { 60 $version = "1.5. 2";60 $version = "1.5.3"; 61 61 if ( is_admin() ) { 62 62 $running_version = get_option('ss_version'); … … 408 408 $shopsite_url = get_option('ss_shopsite_url'); 409 409 $url = $shopsite_url."&operation=get_setting&setting=output_url"; 410 $outputurl = curl_open($url)[0]; 410 $curl_res = curl_open($url); 411 $outputurl = $curl_res[0]; 411 412 if ($outputurl && strlen($outputurl) > 10) { 412 413 $media_url = $outputurl."/media/"; … … 633 634 ini_set('allow_url_fopen', $url_openable); 634 635 print(stream_get_contents($handle));*/ 635 $product_data = curl_open($url)[0]; 636 $curl_res = curl_open($url); 637 $product_data = $curl_res[0]; 636 638 if ($product_data) 637 639 print($product_data);
Note: See TracChangeset
for help on using the changeset viewer.