Version Description
- June 2, 2018 =
- Fix bug when adding a custom field in view editor.
Download this release
Release Info
| Developer | cdillon27 |
| Plugin | |
| Version | 2.31.6 |
| Comparing to | |
| See all releases | |
Code changes from version 2.31.5 to 2.31.6
- admin/about/whats-new.php +1 -0
- admin/js/views.js +4 -5
- readme.txt +4 -1
- strong-testimonials.php +2 -2
admin/about/whats-new.php
CHANGED
|
@@ -22,6 +22,7 @@
|
|
| 22 |
<li>Version 2.31.3</li>
|
| 23 |
<li>Version 2.31.4</li>
|
| 24 |
<li>Version 2.31.5</li>
|
|
|
|
| 25 |
</ul>
|
| 26 |
|
| 27 |
</div>
|
| 22 |
<li>Version 2.31.3</li>
|
| 23 |
<li>Version 2.31.4</li>
|
| 24 |
<li>Version 2.31.5</li>
|
| 25 |
+
<li>Version 2.31.6</li>
|
| 26 |
</ul>
|
| 27 |
|
| 28 |
</div>
|
admin/js/views.js
CHANGED
|
@@ -892,7 +892,7 @@ jQuery(document).ready(function ($) {
|
|
| 892 |
/**
|
| 893 |
* Add client field
|
| 894 |
*/
|
| 895 |
-
$('#add-field').click
|
| 896 |
var keys = $('.field3').map(function () {
|
| 897 |
return $(this).data('key');
|
| 898 |
}).get();
|
|
@@ -902,11 +902,10 @@ jQuery(document).ready(function ($) {
|
|
| 902 |
'key': nextKey,
|
| 903 |
};
|
| 904 |
$.get(ajaxurl, data, function (response) {
|
| 905 |
-
//customFieldList.append( response ).find("#field-"+nextKey+" span.link").click();
|
| 906 |
$.when(customFieldList.append(response)).then(function () {
|
| 907 |
var $newField = customFieldList.find('#field-' + nextKey);
|
| 908 |
$newField
|
| 909 |
-
.find('
|
| 910 |
.find('.field-dep').hide().end()
|
| 911 |
.find('.first-field').focus();
|
| 912 |
});
|
|
@@ -1095,12 +1094,12 @@ jQuery(document).ready(function ($) {
|
|
| 1095 |
e.preventDefault();
|
| 1096 |
});
|
| 1097 |
|
| 1098 |
-
customFieldList.on('click', '
|
| 1099 |
$(this)
|
| 1100 |
.closest('.field2')
|
| 1101 |
.toggleClass('open')
|
| 1102 |
.find('.field-properties')
|
| 1103 |
-
.slideToggle();
|
| 1104 |
return false;
|
| 1105 |
});
|
| 1106 |
|
| 892 |
/**
|
| 893 |
* Add client field
|
| 894 |
*/
|
| 895 |
+
$('#add-field').on('click', function (e) {
|
| 896 |
var keys = $('.field3').map(function () {
|
| 897 |
return $(this).data('key');
|
| 898 |
}).get();
|
| 902 |
'key': nextKey,
|
| 903 |
};
|
| 904 |
$.get(ajaxurl, data, function (response) {
|
|
|
|
| 905 |
$.when(customFieldList.append(response)).then(function () {
|
| 906 |
var $newField = customFieldList.find('#field-' + nextKey);
|
| 907 |
$newField
|
| 908 |
+
.find('div.link').click().end()
|
| 909 |
.find('.field-dep').hide().end()
|
| 910 |
.find('.first-field').focus();
|
| 911 |
});
|
| 1094 |
e.preventDefault();
|
| 1095 |
});
|
| 1096 |
|
| 1097 |
+
customFieldList.on('click', 'div.link', function (e) {
|
| 1098 |
$(this)
|
| 1099 |
.closest('.field2')
|
| 1100 |
.toggleClass('open')
|
| 1101 |
.find('.field-properties')
|
| 1102 |
+
.slideToggle(100);
|
| 1103 |
return false;
|
| 1104 |
});
|
| 1105 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: testimonials, testimonial slider, testimonial form, reviews, star ratings
|
|
| 4 |
Requires at least: 3.7
|
| 5 |
Requires PHP: 5.2.4
|
| 6 |
Tested up to: 4.9.6
|
| 7 |
-
Stable tag: 2.31.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -215,6 +215,9 @@ If you prefer, start a private support ticket at [support.strongplugins.com](htt
|
|
| 215 |
|
| 216 |
== Changelog ==
|
| 217 |
|
|
|
|
|
|
|
|
|
|
| 218 |
= 2.31.5 - June 1, 2018 =
|
| 219 |
* Fix XSS vulnerablilities reported by DefenseCode using Thunderscan.
|
| 220 |
* Add spinner UI element while form is being submitted to deter visitor from navigating away.
|
| 4 |
Requires at least: 3.7
|
| 5 |
Requires PHP: 5.2.4
|
| 6 |
Tested up to: 4.9.6
|
| 7 |
+
Stable tag: 2.31.6
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 215 |
|
| 216 |
== Changelog ==
|
| 217 |
|
| 218 |
+
= 2.31.6 - June 2, 2018 =
|
| 219 |
+
* Fix bug when adding a custom field in view editor.
|
| 220 |
+
|
| 221 |
= 2.31.5 - June 1, 2018 =
|
| 222 |
* Fix XSS vulnerablilities reported by DefenseCode using Thunderscan.
|
| 223 |
* Add spinner UI element while form is being submitted to deter visitor from navigating away.
|
strong-testimonials.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin URI: https://strongplugins.com/plugins/strong-testimonials/
|
| 5 |
* Description: Collect and display your testimonials or reviews.
|
| 6 |
* Author: Chris Dillon
|
| 7 |
-
* Version: 2.31.
|
| 8 |
*
|
| 9 |
* Author URI: https://strongplugins.com/
|
| 10 |
* Text Domain: strong-testimonials
|
|
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 34 |
exit;
|
| 35 |
}
|
| 36 |
|
| 37 |
-
define( 'WPMTST_VERSION', '2.31.
|
| 38 |
define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
|
| 39 |
define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
|
| 40 |
define( 'STRONGPLUGINS_STORE_URL', 'https://strongplugins.com' );
|
| 4 |
* Plugin URI: https://strongplugins.com/plugins/strong-testimonials/
|
| 5 |
* Description: Collect and display your testimonials or reviews.
|
| 6 |
* Author: Chris Dillon
|
| 7 |
+
* Version: 2.31.6
|
| 8 |
*
|
| 9 |
* Author URI: https://strongplugins.com/
|
| 10 |
* Text Domain: strong-testimonials
|
| 34 |
exit;
|
| 35 |
}
|
| 36 |
|
| 37 |
+
define( 'WPMTST_VERSION', '2.31.6' );
|
| 38 |
define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
|
| 39 |
define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
|
| 40 |
define( 'STRONGPLUGINS_STORE_URL', 'https://strongplugins.com' );
|
