Version Description
- Fixes custom button saving issue
Download this release
Release Info
Developer | spwebguy |
Plugin | Responsive Pricing Table |
Version | 5.0.1 |
Comparing to | |
See all releases |
Code changes from version 5.0 to 5.0.1
- inc/rpt-save-metaboxes.php +1 -1
- readme.txt +3 -0
- rpt.php +1 -1
inc/rpt-save-metaboxes.php
CHANGED
@@ -63,7 +63,7 @@ function dmb_rpts_plan_meta_box_save($post_id) {
|
|
63 |
/* Button. */
|
64 |
(isset($_POST['plan_button_texts'][$i]) && $_POST['plan_button_texts'][$i]) ? $new_plans[$i]['_rpt_btn_text'] = stripslashes( strip_tags( sanitize_text_field( $_POST['plan_button_texts'][$i] ) ) ) : $new_plans[$i]['_rpt_btn_text'] = '';
|
65 |
(isset($_POST['plan_button_urls'][$i]) && $_POST['plan_button_urls'][$i]) ? $new_plans[$i]['_rpt_btn_link'] = stripslashes( strip_tags( sanitize_text_field( $_POST['plan_button_urls'][$i] ) ) ) : $new_plans[$i]['_rpt_btn_link'] = '';
|
66 |
-
(isset($_POST['plan_custom_buttons'][$i]) && $_POST['plan_custom_buttons'][$i]) ? $new_plans[$i]['_rpt_btn_custom_btn'] =
|
67 |
|
68 |
/* Styling. */
|
69 |
(isset($_POST['plan_colors'][$i]) && $_POST['plan_colors'][$i]) ? $new_plans[$i]['_rpt_color'] = stripslashes( strip_tags( sanitize_hex_color( $_POST['plan_colors'][$i] ) ) ) : $new_plans[$i]['_rpt_color'] = '#8dba09';
|
63 |
/* Button. */
|
64 |
(isset($_POST['plan_button_texts'][$i]) && $_POST['plan_button_texts'][$i]) ? $new_plans[$i]['_rpt_btn_text'] = stripslashes( strip_tags( sanitize_text_field( $_POST['plan_button_texts'][$i] ) ) ) : $new_plans[$i]['_rpt_btn_text'] = '';
|
65 |
(isset($_POST['plan_button_urls'][$i]) && $_POST['plan_button_urls'][$i]) ? $new_plans[$i]['_rpt_btn_link'] = stripslashes( strip_tags( sanitize_text_field( $_POST['plan_button_urls'][$i] ) ) ) : $new_plans[$i]['_rpt_btn_link'] = '';
|
66 |
+
(isset($_POST['plan_custom_buttons'][$i]) && $_POST['plan_custom_buttons'][$i]) ? $new_plans[$i]['_rpt_btn_custom_btn'] = balanceTags($_POST['plan_custom_buttons'][$i]) : $new_plans[$i]['_rpt_btn_custom_btn'] = '';
|
67 |
|
68 |
/* Styling. */
|
69 |
(isset($_POST['plan_colors'][$i]) && $_POST['plan_colors'][$i]) ? $new_plans[$i]['_rpt_color'] = stripslashes( strip_tags( sanitize_hex_color( $_POST['plan_colors'][$i] ) ) ) : $new_plans[$i]['_rpt_color'] = '#8dba09';
|
readme.txt
CHANGED
@@ -80,6 +80,9 @@ Find help in [our forums](https://wpdarko.com/ask-for-support) for this plugin (
|
|
80 |
6. Finding the shortcode (admin view)
|
81 |
|
82 |
== Changelog ==
|
|
|
|
|
|
|
83 |
= 5.0 =
|
84 |
* New admin interface
|
85 |
* New admin framework
|
80 |
6. Finding the shortcode (admin view)
|
81 |
|
82 |
== Changelog ==
|
83 |
+
= 5.0.1 =
|
84 |
+
* Fixes custom button saving issue
|
85 |
+
|
86 |
= 5.0 =
|
87 |
* New admin interface
|
88 |
* New admin framework
|
rpt.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Responsive Pricing Table
|
5 |
* Plugin URI: https://wpdarko.com/items/responsive-pricing-table-pro/
|
6 |
* 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="https://wpdarko.com/ask-for-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.
|
7 |
-
* Version: 5.0
|
8 |
* Author: WP Darko
|
9 |
* Author URI: https://wpdarko.com
|
10 |
* Text Domain: dk-pricr-responsive-pricing-table
|
4 |
* Plugin Name: Responsive Pricing Table
|
5 |
* Plugin URI: https://wpdarko.com/items/responsive-pricing-table-pro/
|
6 |
* 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="https://wpdarko.com/ask-for-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.
|
7 |
+
* Version: 5.0.1
|
8 |
* Author: WP Darko
|
9 |
* Author URI: https://wpdarko.com
|
10 |
* Text Domain: dk-pricr-responsive-pricing-table
|