Version Description
= 2.12.0 =
- CSS and JavaScript renaming
-
bottom_text
renamed tobottom-text
-
close_quote
renamed toclose-quote
-
display_none
renamed todisplay-none
-
join_location
renamed tojoin-location
-
join_title
renamed tojoin-title
-
open_quote
renamed toopen-quote
-
testimonialswidget_testimonial
renamed totestimonials-widget-testimonial
-
testimonialswidget_testimonials
renamed totestimonials-widget-testimonials
-
= 2.11.3 =
- Correct filter name
testimonials_widget_next_posts_link
totestimonials_widget_next_posts_link_text
= 2.11.0 =
- CSS class names are simplified. For the most part, other than
testimonialswidget_testimonial
removetestimonialswidget_
from the CSS class name in your CSS customizations.- Ex:
.testimonialswidget_join
becomes.join
- Ex:
.testimonialswidget_author
becomes.author
- Ex:
- Testimonials are now formatted using
blockquote
thanq
for HTML5 compliance. If you needq
tag formatting, enable it at WP Admin > Testimonials > Settings, Compatibility & Reset tab-
cite
is nowdiv.credit
-
= 2.8.0 =
- Deprecated
-
hide_author
nowhide_source
-
- Removed filters
testimonials_widget_options_update
,testimonials_widget_options_form
- Use
testimonials_widget_validate_settings
andtestimonials_widget_settings
instead
- Use
- Renamed variable and related class
widget_text
tobottom_text
= 2.7.3 =
- Quotes are no longer handled via
q
,p:before
, orp:after
CSS. It's handled via.testimonialswidget_testimonial .testimonialswidget_open_quote:before
and.testimonialswidget_testimonial .testimonialswidget_close_quote:after
- This change was made to keep consistency in how quotes were managed and to reduce the number of exception cases. In the end, this is simpler.
= 2.7.0 =
- Quotes with
keep_whitespace=true
aren't applied via CSS.testimonialswidget_testimonial q
tag anymore, but.testimonialswidget_testimonial q p:first-child:before
and.testimonialswidget_testimonial q p:last-child:after
- Widget testimonial
p
tags are no longer CSSdisplay: inline
,display: block
as expected
= 2.4.1 =
- Paging is on by default, except for widgets
= 2.0.0 =
- CSS
- Class
testimonialswidget_company
replacestestimonialswidget_source
- Class
testimonialswidget_source
replacestestimonialswidget_author
- The tighten widget display up, p tags within q are displayed inline.
- Class
- JavaScript
- The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires
wp_footer()
in the footer.
- The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires
- Shortcode options
-
hide_source
replaced byhide_url
-
hide_author
replaced byhide_source
-
- Testimonials
- Migration from the old custom table to new custom post type is automatically done. Import might take a few moments to complete.
- Company, URL and email details are attempted to be identified and placed properly based upon the original author and source fields. The company is "guessed" from the
author
field when there's a ", " or " of " context. If thesource
is an email, it's saved as such. Otherwise, it's assumed to be a URL. - Public testimonials are saved as Published. Non-public testimonials are marked as Private.
- Widget options
- "Show author" and "Show source" options are replaced by "Hide source" and "Hide URL" respectively. There's no backwards compatibility for these changes.
- Default
min-height
is now 250px than 150px.
Download this release
Release Info
Developer | comprock |
Plugin | Testimonials Widget |
Version | 2.13.5 |
Comparing to | |
See all releases |
Code changes from version 2.13.4 to 2.13.5
- CHANGELOG.md +3 -0
- languages/testimonials-widget.pot +3 -3
- readme.txt +2 -2
- testimonials-widget.php +7 -7
CHANGELOG.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
## master
|
4 |
|
|
|
|
|
|
|
5 |
## 2.13.4
|
6 |
* Add $atts parameter to filter `testimonials_widget_data`
|
7 |
* Add action `testimonials_widget_scripts`
|
2 |
|
3 |
## master
|
4 |
|
5 |
+
## 2.13.5
|
6 |
+
* BUGFIX Caching defaults not correct
|
7 |
+
|
8 |
## 2.13.4
|
9 |
* Add $atts parameter to filter `testimonials_widget_data`
|
10 |
* Add action `testimonials_widget_scripts`
|
languages/testimonials-widget.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Testimonials Widget package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Testimonials Widget 2.13.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
-
"POT-Creation-Date: 2013-09-13
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -507,7 +507,7 @@ msgstr ""
|
|
507 |
msgid "Display testimonials with multiple selection and display options"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.13.
|
511 |
#. Plugin Name of the plugin/theme
|
512 |
#: lib/class-testimonials-widget-widget.php:37
|
513 |
msgid "Testimonials Widget"
|
2 |
# This file is distributed under the same license as the Testimonials Widget package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Testimonials Widget 2.13.5\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
+
"POT-Creation-Date: 2013-09-13 15:57:42+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
507 |
msgid "Display testimonials with multiple selection and display options"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.13.5) #-#-#-#-#
|
511 |
#. Plugin Name of the plugin/theme
|
512 |
#: lib/class-testimonials-widget-widget.php:37
|
513 |
msgid "Testimonials Widget"
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: comprock
|
|
4 |
Donate link: http://aihr.us/about-aihrus/donate/
|
5 |
Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
|
6 |
Requires at least: 3.4
|
7 |
-
Tested up to: 3.6.
|
8 |
-
Stable tag: 2.13.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
4 |
Donate link: http://aihr.us/about-aihrus/donate/
|
5 |
Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
|
6 |
Requires at least: 3.4
|
7 |
+
Tested up to: 3.6.1
|
8 |
+
Stable tag: 2.13.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
testimonials-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Testimonials Widget
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
|
5 |
* Description: Testimonials Widget plugin allows you to display random or selected portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
|
6 |
-
* Version: 2.13.
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
* License: GPLv2 or later
|
@@ -28,7 +28,7 @@ class Testimonials_Widget {
|
|
28 |
const OLD_NAME = 'testimonialswidget';
|
29 |
const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
|
30 |
const PT = 'testimonials-widget';
|
31 |
-
const VERSION = '2.13.
|
32 |
|
33 |
private static $base = null;
|
34 |
private static $max_num_pages = 0;
|
@@ -599,7 +599,7 @@ EOD;
|
|
599 |
|
600 |
$atts['type'] = 'testimonialswidget_list';
|
601 |
|
602 |
-
$content = apply_filters( 'testimonials_widget_cache_get', $atts );
|
603 |
|
604 |
if ( false === $content ) {
|
605 |
$testimonials = self::get_testimonials( $atts );
|
@@ -632,7 +632,7 @@ EOD;
|
|
632 |
|
633 |
$testimonials = self::get_testimonials( $atts );
|
634 |
|
635 |
-
$content = apply_filters( 'testimonials_widget_cache_get', $atts );
|
636 |
|
637 |
if ( false === $content ) {
|
638 |
$content = self::get_testimonials_html( $testimonials, $atts, false, $widget_number );
|
@@ -641,7 +641,7 @@ EOD;
|
|
641 |
|
642 |
// Generate CSS
|
643 |
$atts['type'] = 'testimonialswidget_widget_css';
|
644 |
-
$css = apply_filters( 'testimonials_widget_cache_get', $atts );
|
645 |
|
646 |
if ( false === $css ) {
|
647 |
$css = self::get_testimonials_html_css( $atts, $widget_number );
|
@@ -655,7 +655,7 @@ EOD;
|
|
655 |
|
656 |
// Generate JS
|
657 |
$atts['type'] = 'testimonialswidget_widget_js';
|
658 |
-
$js = apply_filters( 'testimonials_widget_cache_get', $atts );
|
659 |
|
660 |
if ( false === $js ) {
|
661 |
$js = self::get_testimonials_html_js( $testimonials, $atts, $widget_number );
|
@@ -1414,7 +1414,7 @@ EOF;
|
|
1414 |
$args = self::get_query_args( $atts );
|
1415 |
$args['query'] = true;
|
1416 |
|
1417 |
-
$testimonials = apply_filters( 'testimonials_widget_cache_get', $args );
|
1418 |
|
1419 |
if ( false === $testimonials ) {
|
1420 |
$testimonials = new WP_Query( $args );
|
3 |
* Plugin Name: Testimonials Widget
|
4 |
* Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
|
5 |
* Description: Testimonials Widget plugin allows you to display random or selected portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
|
6 |
+
* Version: 2.13.5
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
* License: GPLv2 or later
|
28 |
const OLD_NAME = 'testimonialswidget';
|
29 |
const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
|
30 |
const PT = 'testimonials-widget';
|
31 |
+
const VERSION = '2.13.5';
|
32 |
|
33 |
private static $base = null;
|
34 |
private static $max_num_pages = 0;
|
599 |
|
600 |
$atts['type'] = 'testimonialswidget_list';
|
601 |
|
602 |
+
$content = apply_filters( 'testimonials_widget_cache_get', false, $atts );
|
603 |
|
604 |
if ( false === $content ) {
|
605 |
$testimonials = self::get_testimonials( $atts );
|
632 |
|
633 |
$testimonials = self::get_testimonials( $atts );
|
634 |
|
635 |
+
$content = apply_filters( 'testimonials_widget_cache_get', false, $atts );
|
636 |
|
637 |
if ( false === $content ) {
|
638 |
$content = self::get_testimonials_html( $testimonials, $atts, false, $widget_number );
|
641 |
|
642 |
// Generate CSS
|
643 |
$atts['type'] = 'testimonialswidget_widget_css';
|
644 |
+
$css = apply_filters( 'testimonials_widget_cache_get', false, $atts );
|
645 |
|
646 |
if ( false === $css ) {
|
647 |
$css = self::get_testimonials_html_css( $atts, $widget_number );
|
655 |
|
656 |
// Generate JS
|
657 |
$atts['type'] = 'testimonialswidget_widget_js';
|
658 |
+
$js = apply_filters( 'testimonials_widget_cache_get', false, $atts );
|
659 |
|
660 |
if ( false === $js ) {
|
661 |
$js = self::get_testimonials_html_js( $testimonials, $atts, $widget_number );
|
1414 |
$args = self::get_query_args( $atts );
|
1415 |
$args['query'] = true;
|
1416 |
|
1417 |
+
$testimonials = apply_filters( 'testimonials_widget_cache_get', false, $args );
|
1418 |
|
1419 |
if ( false === $testimonials ) {
|
1420 |
$testimonials = new WP_Query( $args );
|