Wp-Insert - Version 2.0.14

Version Description

Download this release

Release Info

Developer namith.jawahar
Plugin Icon 128x128 Wp-Insert
Version 2.0.14
Comparing to
See all releases

Code changes from version 2.0.12 to 2.0.14

Files changed (3) hide show
  1. includes/common/geoip/geoip.inc +16 -12
  2. readme.txt +2 -2
  3. wp-insert.php +1 -1
includes/common/geoip/geoip.inc CHANGED
@@ -421,20 +421,24 @@ function geoip_country_id_by_name($gi, $name) {
421
  return geoip_country_id_by_addr($gi, $addr);
422
  }
423
 
424
- function geoip_country_code_by_name_v6($gi, $name) {
425
- $country_id = geoip_country_id_by_name_v6($gi,$name);
426
- if ($country_id !== false) {
427
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
428
- }
429
- return false;
 
 
430
  }
431
 
432
- function geoip_country_code_by_name($gi, $name) {
433
- $country_id = geoip_country_id_by_name($gi,$name);
434
- if ($country_id !== false) {
435
- return $gi->GEOIP_COUNTRY_CODES[$country_id];
436
- }
437
- return false;
 
 
438
  }
439
 
440
  function geoip_country_name_by_name_v6($gi, $name) {
421
  return geoip_country_id_by_addr($gi, $addr);
422
  }
423
 
424
+ if(!function_exists('geoip_country_code_by_name_v6')) {
425
+ function geoip_country_code_by_name_v6($gi, $name) {
426
+ $country_id = geoip_country_id_by_name_v6($gi,$name);
427
+ if ($country_id !== false) {
428
+ return $gi->GEOIP_COUNTRY_CODES[$country_id];
429
+ }
430
+ return false;
431
+ }
432
  }
433
 
434
+ if(!function_exists('geoip_country_code_by_name')) {
435
+ function geoip_country_code_by_name($gi, $name) {
436
+ $country_id = geoip_country_id_by_name($gi,$name);
437
+ if ($country_id !== false) {
438
+ return $gi->GEOIP_COUNTRY_CODES[$country_id];
439
+ }
440
+ return false;
441
+ }
442
  }
443
 
444
  function geoip_country_name_by_name_v6($gi, $name) {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Namith Jawahar
3
  Donate link:www.wp-insert.smartlogix.co.in/support
4
  Tags: adsense,google,widget,post,admin,plugin,ads,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 3.2
6
- Tested up to: 4.0
7
- Stable tag: 2.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link:www.wp-insert.smartlogix.co.in/support
4
  Tags: adsense,google,widget,post,admin,plugin,ads,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 3.2
6
+ Tested up to: 4.1
7
+ Stable tag: 2.0.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
wp-insert.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Wp-Insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
6
- Version: 2.0.12
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
3
  Plugin Name: Wp-Insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
6
+ Version: 2.0.14
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)