Version Description
- Debugging impression count
- Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
- Fix issue with impressions driving up on first landing page in list.
Download this release
Release Info
Developer | adbox |
Plugin | WordPress Landing Pages |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- classes/class.statistics.php +1 -1
- landing-pages.php +2 -2
- readme.txt +1 -1
classes/class.statistics.php
CHANGED
@@ -40,7 +40,7 @@ if (!class_exists('Landing_Pages_Stats')) {
|
|
40 |
public static function record_impression($post_id, $post_type , $variation_id = 0) {
|
41 |
|
42 |
/* ignore mshots and previews from admin area */
|
43 |
-
if (strstr(
|
44 |
return;
|
45 |
}
|
46 |
|
40 |
public static function record_impression($post_id, $post_type , $variation_id = 0) {
|
41 |
|
42 |
/* ignore mshots and previews from admin area */
|
43 |
+
if (strstr( $_SERVER['HTTP_REFERER'] , admin_url() )) {
|
44 |
return;
|
45 |
}
|
46 |
|
landing-pages.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Landing Pages
|
4 |
Plugin URI: http://www.inboundnow.com/landing-pages/
|
5 |
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
|
6 |
-
Version: 2.2.
|
7 |
Author: Inbound Now
|
8 |
Author URI: http://www.inboundnow.com/
|
9 |
|
@@ -37,7 +37,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
|
|
37 |
*/
|
38 |
private static function load_constants() {
|
39 |
|
40 |
-
define('LANDINGPAGES_CURRENT_VERSION', '2.2.
|
41 |
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
|
42 |
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
43 |
define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
|
3 |
Plugin Name: Landing Pages
|
4 |
Plugin URI: http://www.inboundnow.com/landing-pages/
|
5 |
Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
|
6 |
+
Version: 2.2.2
|
7 |
Author: Inbound Now
|
8 |
Author URI: http://www.inboundnow.com/
|
9 |
|
37 |
*/
|
38 |
private static function load_constants() {
|
39 |
|
40 |
+
define('LANDINGPAGES_CURRENT_VERSION', '2.2.2' );
|
41 |
define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
|
42 |
define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
43 |
define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
|
readme.txt
CHANGED
@@ -70,7 +70,7 @@ The plugin is also fully extendable and has a number of actions, filters, and ho
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
-
= 2.2.
|
74 |
* Debugging impression count
|
75 |
* Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
|
76 |
* Fix issue with impressions driving up on first landing page in list.
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 2.2.2 =
|
74 |
* Debugging impression count
|
75 |
* Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
|
76 |
* Fix issue with impressions driving up on first landing page in list.
|