Plugin Directory

Changeset 1935231


Ignore:
Timestamp:
09/03/2018 11:21:07 PM (8 years ago)
Author:
wallrio
Message:

fixed call failed for content cache.

Location:
cache-seo-speed/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cache-seo-speed/trunk/CssWallRioMain.php

    r1932100 r1935231  
    44Plugin URI: http://wallrio.com/wordpress/plugins/cache-seo-speed/
    55Description: Tool for optimization, caching and minification, accelerates the loading of pages with focus on performance analyzers.
    6 Version: 0.0.1
     6Version: 0.0.2
    77Author: Wallace Rio
    88Author URI: http://wallrio.com
  • cache-seo-speed/trunk/package.json

    r1932100 r1935231  
    11{
    22    "name": "cache-seo-speed",
    3     "version":"0.0.1",
     3    "version":"0.0.2",
    44    "description": "Ferramenta para optimização, cache e minificação, acelera o carregamento de páginas com foco em analisadores de performance",
    55    "homepage": "http://wallrio.com/wordpress/plugins/cache-seo-speed/",
  • cache-seo-speed/trunk/readme-ptbr.txt

    r1932112 r1935231  
    77Requires at least: 4.3
    88Tested up to: 4.9
     9Stable tag: 0.0.2
    910
    1011Ferramenta para otimização, cache e minificação, acelera o carregamento de páginas com
  • cache-seo-speed/trunk/readme.txt

    r1932112 r1935231  
    77Requires at least: 4.3
    88Tested up to: 4.9
     9Stable tag: 0.0.2
    910
    1011Tool for optimization, caching and minification, accelerates the loading of pages with
     
    55562. Main screen (Português)
    5657
     58== Changelog ==
     59
     60= 0.0.2 =
     61* fixed call failed for content cache.
     62
     63
    5764== Frequently Asked Questions ==
    5865
  • cache-seo-speed/trunk/src/CssWallRio_spider.php

    r1932100 r1935231  
    2727
    2828            $resultRequest = wp_remote_get($url);
    29             $contentFile = $resultRequest['body'];
     29
     30            if(is_array($resultRequest))
     31            $contentFile = isset($resultRequest['body'])?$resultRequest['body']:'';
     32            else if(is_object($resultRequest))
     33            $contentFile = isset($resultRequest->body)?$resultRequest->body:'';
    3034
    3135           
     
    8892
    8993                $resultRequest = wp_remote_get($url);
    90                 $contentFile = $resultRequest['body'];
     94                if(is_array($resultRequest))
     95                    $contentFile = isset($resultRequest['body'])?$resultRequest['body']:'';
     96                else if(is_object($resultRequest))
     97                    $contentFile = isset($resultRequest->body)?$resultRequest->body:'';
    9198
    9299                            $type = 'js-link';
Note: See TracChangeset for help on using the changeset viewer.