WordPress Landing Pages - Version 2.2.8

Version Description

  • Fixing function placement in image generation script.
Download this release

Release Info

Developer adbox
Plugin Icon 128x128 WordPress Landing Pages
Version 2.2.8
Comparing to
See all releases

Code changes from version 2.2.7 to 2.2.8

Files changed (3) hide show
  1. assets/images/image.php +14 -12
  2. landing-pages.php +2 -2
  3. readme.txt +4 -1
assets/images/image.php CHANGED
@@ -1,5 +1,19 @@
1
<?php
2
3
// file: image.php
4
// Dynamically Create a clear png for css background opacities
5
header("Content-type: image/png");
@@ -56,18 +70,6 @@ if (isset($RBG_array)) {
56
57
}
58
59
- if (!function_exists('inbound_sanitize_this')) {
60
- function inbound_sanitize_this($color) {
61
- if ( '' === $color ) {
62
- return '';
63
- }
64
-
65
- // 3 or 6 hex digits, or the empty string.
66
- if ( preg_match('|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) {
67
- return $color;
68
- }
69
- }
70
- }
71
// usage in html: <image src="path-to-file/image.php?hex=HEXCOLOR">
72
// Make sure to add in the HEX GET Parameters with ?hex= and ?trans= for transparency
73
// example: <image src="path-to-file/image.php?hex=ffffff"> will call white transparent png
1
<?php
2
3
+
4
+ if (!function_exists('inbound_sanitize_this')) {
5
+ function inbound_sanitize_this($color) {
6
+ if ( '' === $color ) {
7
+ return '';
8
+ }
9
+
10
+ // 3 or 6 hex digits, or the empty string.
11
+ if ( preg_match('|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) {
12
+ return $color;
13
+ }
14
+ }
15
+ }
16
+
17
// file: image.php
18
// Dynamically Create a clear png for css background opacities
19
header("Content-type: image/png");
70
71
}
72
73
// usage in html: <image src="path-to-file/image.php?hex=HEXCOLOR">
74
// Make sure to add in the HEX GET Parameters with ?hex= and ?trans= for transparency
75
// example: <image src="path-to-file/image.php?hex=ffffff"> will call white transparent png
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
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.7' );
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.8
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.8' );
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
@@ -7,7 +7,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
Requires at least: 3.8
9
Tested up to: 4.5.2
10
- Stable Tag: 2.2.7
11
12
Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
@@ -70,6 +70,9 @@ The plugin is also fully extendable and has a number of actions, filters, and ho
70
71
== Changelog ==
72
73
= 2.2.7 =
74
* [security fix] Adding additional sanitation requirements.
75
7
Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
Requires at least: 3.8
9
Tested up to: 4.5.2
10
+ Stable Tag: 2.2.8
11
12
Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
70
71
== Changelog ==
72
73
+ = 2.2.8 =
74
+ * Fixing function placement in image generation script.
75
+
76
= 2.2.7 =
77
* [security fix] Adding additional sanitation requirements.
78