Wp-Insert - Version 2.1.5

Version Description

Download this release

Release Info

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

Code changes from version 2.1.4 to 2.1.5

Files changed (3) hide show
  1. includes/common/rules.php +1 -2
  2. readme.txt +2 -2
  3. wp-insert.php +2 -2
includes/common/rules.php CHANGED
@@ -56,7 +56,6 @@ function wp_insert_get_page_details() {
56
  $page_details['type_name'] = $post->post_type;
57
  }
58
  }
59
-
60
  return $page_details;
61
  }
62
  /* End Get Current Page Type */
@@ -113,7 +112,7 @@ function wp_insert_get_ad_status($rules) {
113
  return false;
114
  } else if(isset($rules['rules_post_exceptions']) && is_array($rules['rules_post_exceptions']) && (in_array($page_details['ID'], $rules['rules_post_exceptions']))) {
115
  return false;
116
- } else if(isset($rules['rules_categories_post_exceptions']) && isset($page_details['categories']) && is_array($rules['rules_categories_post_exceptions']) && is_array($page_details['categories']) && (count(array_intersect($page_details['categories'], $rules['rules_categories_post_exceptions'])) > 0)) {
117
  return false;
118
  }
119
  break;
56
  $page_details['type_name'] = $post->post_type;
57
  }
58
  }
 
59
  return $page_details;
60
  }
61
  /* End Get Current Page Type */
112
  return false;
113
  } else if(isset($rules['rules_post_exceptions']) && is_array($rules['rules_post_exceptions']) && (in_array($page_details['ID'], $rules['rules_post_exceptions']))) {
114
  return false;
115
+ } else if(isset($rules['rules_post_categories_exceptions']) && isset($page_details['categories']) && is_array($rules['rules_post_categories_exceptions']) && is_array($page_details['categories']) && (count(array_intersect($page_details['categories'], $rules['rules_post_categories_exceptions'])) > 0)) {
116
  return false;
117
  }
118
  break;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Namith Jawahar
3
  Tags: ads,adsense,advertising,advertisement,google ads,ad widget,analytics,google analytics,code insertion,privacy policy,best adsense plugin
4
  Donate link: http://wpinsert.smartlogix.co.in/support/
5
  Requires at least: 4.1.0
6
- Tested up to: 4.4
7
- Stable tag: 2.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Tags: ads,adsense,advertising,advertisement,google ads,ad widget,analytics,google analytics,code insertion,privacy policy,best adsense plugin
4
  Donate link: http://wpinsert.smartlogix.co.in/support/
5
  Requires at least: 4.1.0
6
+ Tested up to: 4.5.3
7
+ Stable tag: 2.1.5
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 Adsense / Ad-Management Plugin for WordPress
6
- Version: 2.1.4
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
@@ -31,7 +31,7 @@ if(!defined('WP_INSERT_URL'))
31
  if(!defined('WP_INSERT_DIR'))
32
  define('WP_INSERT_DIR', plugin_dir_path(__FILE__));
33
  if(!defined('WP_INSERT_VERSION'))
34
- define('WP_INSERT_VERSION', '2.1.4');
35
  /*Includes*/
36
  require_once(dirname(__FILE__).'/includes/common/common.php');
37
  require_once(dirname(__FILE__).'/includes/controls/controls.php');
3
  Plugin Name: Wp-Insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
6
+ Version: 2.1.5
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
31
  if(!defined('WP_INSERT_DIR'))
32
  define('WP_INSERT_DIR', plugin_dir_path(__FILE__));
33
  if(!defined('WP_INSERT_VERSION'))
34
+ define('WP_INSERT_VERSION', '2.1.5');
35
  /*Includes*/
36
  require_once(dirname(__FILE__).'/includes/common/common.php');
37
  require_once(dirname(__FILE__).'/includes/controls/controls.php');