Version Description
- Fix 1 PHP error causing page content to disappear/crash
Download this release
Release Info
Developer | spwebguy |
Plugin | Responsive Pricing Table |
Version | 4.3.2 |
Comparing to | |
See all releases |
Code changes from version 4.3 to 4.3.2
- readme.txt +4 -1
- rpt.php +4 -5
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: spwebguy
|
3 |
Tags: pricing table, pricing tables, prices, pricing, plans, offer, shortcode, price, responsive, pricing, tables, pricing plan
|
4 |
Requires at least: 3.6
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
@@ -89,6 +89,9 @@ Find help in [our forums](http://wpdarko.com/support/) for this plugin (we’ll
|
|
89 |
6. Finding the shortcode (admin view)
|
90 |
|
91 |
== Changelog ==
|
|
|
|
|
|
|
92 |
= 4.3 =
|
93 |
* Added custom CSS classes
|
94 |
|
2 |
Contributors: spwebguy
|
3 |
Tags: pricing table, pricing tables, prices, pricing, plans, offer, shortcode, price, responsive, pricing, tables, pricing plan
|
4 |
Requires at least: 3.6
|
5 |
+
Tested up to: 4.8
|
6 |
Stable tag: trunk
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
89 |
6. Finding the shortcode (admin view)
|
90 |
|
91 |
== Changelog ==
|
92 |
+
= 4.3.2 =
|
93 |
+
* Fix 1 PHP error causing page content to disappear/crash
|
94 |
+
|
95 |
= 4.3 =
|
96 |
* Added custom CSS classes
|
97 |
|
rpt.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Responsive Pricing Table
|
4 |
* Plugin URI: http://wpdarko.com/items/responsive-pricing-table-pro/
|
5 |
* Description: A responsive, easy and elegant way to present your offer to your visitors. Just create a new pricing table (custom type) and copy-paste the shortcode into your posts/pages. Find help and information on our <a href="http://wpdarko.com/support/">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/responsive-pricing-table-pro/'>PRO version</a> for more great features.
|
6 |
-
* Version: 4.3
|
7 |
* Author: WP Darko
|
8 |
* Author URI: http://wpdarko.com
|
9 |
* Text Domain: dk-pricr-responsive-pricing-table
|
@@ -330,17 +330,16 @@ foreach($custom_posts as $post) : setup_postdata($post);
|
|
330 |
if (!empty($plans['_rpt_features'])){
|
331 |
|
332 |
|
333 |
-
|
334 |
|
|
|
335 |
|
336 |
$string = $plans['_rpt_features'];
|
337 |
$stringAr = explode("\n", $string);
|
338 |
$stringAr = array_filter($stringAr, 'trim');
|
339 |
|
340 |
-
$features = [];
|
341 |
-
|
342 |
foreach ($stringAr as $feature) {
|
343 |
-
$features[]
|
344 |
}
|
345 |
|
346 |
foreach ($features as $small_key => $feature){
|
3 |
* Plugin Name: Responsive Pricing Table
|
4 |
* Plugin URI: http://wpdarko.com/items/responsive-pricing-table-pro/
|
5 |
* Description: A responsive, easy and elegant way to present your offer to your visitors. Just create a new pricing table (custom type) and copy-paste the shortcode into your posts/pages. Find help and information on our <a href="http://wpdarko.com/support/">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/responsive-pricing-table-pro/'>PRO version</a> for more great features.
|
6 |
+
* Version: 4.3.2
|
7 |
* Author: WP Darko
|
8 |
* Author URI: http://wpdarko.com
|
9 |
* Text Domain: dk-pricr-responsive-pricing-table
|
330 |
if (!empty($plans['_rpt_features'])){
|
331 |
|
332 |
|
333 |
+
$output2 .= '<div class="rpt_features rpt_features_' . $key . '">';
|
334 |
|
335 |
+
$features = array();
|
336 |
|
337 |
$string = $plans['_rpt_features'];
|
338 |
$stringAr = explode("\n", $string);
|
339 |
$stringAr = array_filter($stringAr, 'trim');
|
340 |
|
|
|
|
|
341 |
foreach ($stringAr as $feature) {
|
342 |
+
$features[] = strip_tags($feature,'<strong></strong><br><br/></br><img><a>');
|
343 |
}
|
344 |
|
345 |
foreach ($features as $small_key => $feature){
|