Version Description
Download this release
Release Info
Developer | giucu91 |
Plugin | Strong Testimonials |
Version | 2.40.5 |
Comparing to | |
See all releases |
Code changes from version 2.40.4 to 2.40.5
- changelog.txt +3 -0
- includes/class-strong-view-slideshow.php +1 -1
- includes/class-strong-view.php +1 -1
- includes/functions-template.php +1 -1
- readme.txt +2 -2
- strong-testimonials.php +2 -2
changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
= 2.40.4 - Apr. 16, 2020 =
|
2 |
* Added the old classes back to keep functionality with users custom css
|
3 |
* Fixed title display
|
1 |
+
= 2.40.5 - Apr. 16, 2020 =
|
2 |
+
* Add old css class back for templates
|
3 |
+
|
4 |
= 2.40.4 - Apr. 16, 2020 =
|
5 |
* Added the old classes back to keep functionality with users custom css
|
6 |
* Fixed title display
|
includes/class-strong-view-slideshow.php
CHANGED
@@ -157,7 +157,7 @@ class Strong_View_Slideshow extends Strong_View_Display {
|
|
157 |
|
158 |
$content_class_list = array();
|
159 |
|
160 |
-
$post_class_list = array( 'wpmtst-testimonial' );
|
161 |
|
162 |
if ( 'excerpt' == $this->atts['content'] ) {
|
163 |
$post_class_list[] = 'excerpt';
|
157 |
|
158 |
$content_class_list = array();
|
159 |
|
160 |
+
$post_class_list = array( 'wpmtst-testimonial testimonial' );
|
161 |
|
162 |
if ( 'excerpt' == $this->atts['content'] ) {
|
163 |
$post_class_list[] = 'excerpt';
|
includes/class-strong-view.php
CHANGED
@@ -365,7 +365,7 @@ class Strong_View {
|
|
365 |
$class = str_replace( ':content', '', $template_name );
|
366 |
$class = str_replace( ':', '-', $class );
|
367 |
$class = str_replace( '-form-form', '-form', $class );
|
368 |
-
$class =
|
369 |
$class_list = array( $class );
|
370 |
|
371 |
$template_object = WPMST()->templates->get_template_by_name( $template_name );
|
365 |
$class = str_replace( ':content', '', $template_name );
|
366 |
$class = str_replace( ':', '-', $class );
|
367 |
$class = str_replace( '-form-form', '-form', $class );
|
368 |
+
$class = $class . ' wpmtst-' . $class ;
|
369 |
$class_list = array( $class );
|
370 |
|
371 |
$template_object = WPMST()->templates->get_template_by_name( $template_name );
|
includes/functions-template.php
CHANGED
@@ -317,7 +317,7 @@ function wpmtst_the_custom_field( $field ) {
|
|
317 |
|
318 |
$output = '';
|
319 |
$field_name = $field['field'];
|
320 |
-
|
321 |
if ( isset( $custom_fields[ $field_name ] ) ) {
|
322 |
$field['prop'] = $custom_fields[ $field_name ];
|
323 |
} else {
|
317 |
|
318 |
$output = '';
|
319 |
$field_name = $field['field'];
|
320 |
+
|
321 |
if ( isset( $custom_fields[ $field_name ] ) ) {
|
322 |
$field['prop'] = $custom_fields[ $field_name ];
|
323 |
} else {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: machothemes,silkalns,cdillon27
|
|
3 |
Tags: testimonials, testimonial slider, testimonial form, star ratings
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.40.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
3 |
Tags: testimonials, testimonial slider, testimonial form, star ratings
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
+
Tested up to: 5.4
|
7 |
+
Stable tag: 2.40.5
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
strong-testimonials.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Collect and display your testimonials or reviews.
|
6 |
* Author: MachoThemes
|
7 |
* Author URI: https://www.machothemes.com/
|
8 |
-
* Version: 2.40.
|
9 |
* Text Domain: strong-testimonials
|
10 |
* Domain Path: /languages
|
11 |
* Requires: 4.6 or higher
|
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
-
define( 'WPMTST_VERSION', '2.40.
|
48 |
define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
|
49 |
define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
|
50 |
defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com' );
|
5 |
* Description: Collect and display your testimonials or reviews.
|
6 |
* Author: MachoThemes
|
7 |
* Author URI: https://www.machothemes.com/
|
8 |
+
* Version: 2.40.5
|
9 |
* Text Domain: strong-testimonials
|
10 |
* Domain Path: /languages
|
11 |
* Requires: 4.6 or higher
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
+
define( 'WPMTST_VERSION', '2.40.5' );
|
48 |
define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
|
49 |
define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
|
50 |
defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com' );
|