Changeset 1906641
- Timestamp:
- 07/09/2018 08:14:53 PM (8 years ago)
- Location:
- xtra-settings/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
xtra.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xtra-settings/trunk/readme.txt
r1869237 r1906641 5 5 Requires at least: 3.7 6 6 Tested up to: 4.9 7 Stable tag: 1.8. 37 Stable tag: 1.8.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 = 1.8.4 = 51 * Fixed warning in freegeoip.net calls in case the call is forbidden 52 50 53 = 1.8.3 = 51 54 * Tweaked Add self-link to all uploaded images in posts by linking to full size image … … 339 342 == Upgrade Notice == 340 343 341 = 1.8. 3=344 = 1.8.4 = 342 345 For the best user experience, always upgrade to the latest version. -
xtra-settings/trunk/xtra.php
r1869237 r1906641 4 4 Plugin URI: https://wordpress.org/plugins/xtra-settings/ 5 5 Description: All useful hidden settings of Wordpress 6 Version: 1.8. 36 Version: 1.8.4 7 7 Author: fures 8 8 Author URI: http://www.fures.hu/xtra-settings/ … … 20 20 21 21 //. Defines 22 define( 'XTRA_VERSION', '1.8. 3' );22 define( 'XTRA_VERSION', '1.8.4' ); 23 23 define( 'XTRA_PLUGIN', __FILE__ ); 24 24 define( 'XTRA_PLUGIN_BASENAME', plugin_basename( XTRA_PLUGIN ) ); … … 3676 3676 else { 3677 3677 $time_start = microtime(true); 3678 $geo = file_get_contents("http://freegeoip.net/json/".$thisIP."");3678 $geo = @file_get_contents("http://freegeoip.net/json/".$thisIP.""); 3679 3679 xtra_time_measure('xtra_geoiplookup_avg',$time_start); 3680 3680 $geo = json_decode($geo,true); … … 4197 4197 if (!$key) continue; 4198 4198 $time_start = microtime(true); 4199 $geo = file_get_contents("http://freegeoip.net/json/".$key."");4199 $geo = @file_get_contents("http://freegeoip.net/json/".$key.""); 4200 4200 xtra_time_measure('xtra_geoiplookup_avg',$time_start); 4201 4201 if (!$geo) continue; … … 4214 4214 if (!$key) continue; 4215 4215 $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'].""); 4217 4217 xtra_time_measure('xtra_geoiplookup_avg',$time_start); 4218 4218 if (!$geo) continue;
Note: See TracChangeset
for help on using the changeset viewer.