Plugin Directory

Changeset 1906641


Ignore:
Timestamp:
07/09/2018 08:14:53 PM (8 years ago)
Author:
fures
Message:

Commit 1.8.4

Location:
xtra-settings/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xtra-settings/trunk/readme.txt

    r1869237 r1906641  
    55Requires at least: 3.7
    66Tested up to: 4.9
    7 Stable tag: 1.8.3
     7Stable tag: 1.8.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848== Changelog ==
    4949
     50= 1.8.4 =
     51* Fixed warning in freegeoip.net calls in case the call is forbidden
     52
    5053= 1.8.3 =
    5154* Tweaked Add self-link to all uploaded images in posts by linking to full size image
     
    339342== Upgrade Notice ==
    340343
    341 = 1.8.3 =
     344= 1.8.4 =
    342345For the best user experience, always upgrade to the latest version.
  • xtra-settings/trunk/xtra.php

    r1869237 r1906641  
    44Plugin URI: https://wordpress.org/plugins/xtra-settings/
    55Description: All useful hidden settings of Wordpress
    6 Version: 1.8.3
     6Version: 1.8.4
    77Author: fures
    88Author URI: http://www.fures.hu/xtra-settings/
     
    2020
    2121//. Defines
    22 define( 'XTRA_VERSION', '1.8.3' );
     22define( 'XTRA_VERSION', '1.8.4' );
    2323define( 'XTRA_PLUGIN', __FILE__ );
    2424define( 'XTRA_PLUGIN_BASENAME', plugin_basename( XTRA_PLUGIN ) );
     
    36763676            else {
    36773677                $time_start = microtime(true);
    3678                 $geo = file_get_contents("http://freegeoip.net/json/".$thisIP."");
     3678                $geo = @file_get_contents("http://freegeoip.net/json/".$thisIP."");
    36793679                xtra_time_measure('xtra_geoiplookup_avg',$time_start);
    36803680                $geo = json_decode($geo,true);
     
    41974197        if (!$key) continue;
    41984198        $time_start = microtime(true);
    4199         $geo = file_get_contents("http://freegeoip.net/json/".$key."");
     4199        $geo = @file_get_contents("http://freegeoip.net/json/".$key."");
    42004200        xtra_time_measure('xtra_geoiplookup_avg',$time_start);
    42014201        if (!$geo) continue;
     
    42144214        if (!$key) continue;
    42154215        $time_start = microtime(true);
    4216         $geo = file_get_contents("http://freegeoip.net/json/".$val['IP']."");
     4216        $geo = @file_get_contents("http://freegeoip.net/json/".$val['IP']."");
    42174217        xtra_time_measure('xtra_geoiplookup_avg',$time_start);
    42184218        if (!$geo) continue;
Note: See TracChangeset for help on using the changeset viewer.