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.12.5 |
Comparing to | |
See all releases |
Code changes from version 2.12.4 to 2.12.5
- changelog.txt +4 -0
- languages/testimonials-widget.pot +21 -21
- lib/class-settings-testimonials-widget.php +1 -1
- readme.txt +1 -1
- testimonials-widget.php +5 -2
changelog.txt
CHANGED
@@ -4,6 +4,10 @@
|
|
4 |
|
5 |
= trunk =
|
6 |
|
|
|
|
|
|
|
|
|
7 |
= 2.12.4 =
|
8 |
* BUGFIX Settings jQuery UI Tabs conflict
|
9 |
* NOT BUG [WPML bug](http://wordpress.org/support/topic/wpml-bug?replies=1)
|
4 |
|
5 |
= trunk =
|
6 |
|
7 |
+
= 2.12.5 =
|
8 |
+
* BUGFIX Correct loose vs strict comparison for intval and absint
|
9 |
+
* If no refresh_interval, then LIMIT 1
|
10 |
+
|
11 |
= 2.12.4 =
|
12 |
* BUGFIX Settings jQuery UI Tabs conflict
|
13 |
* NOT BUG [WPML bug](http://wordpress.org/support/topic/wpml-bug?replies=1)
|
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.12.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
-
"POT-Creation-Date: 2013-05-12
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -321,27 +321,27 @@ msgid "None"
|
|
321 |
msgstr ""
|
322 |
|
323 |
#: lib/class-settings-testimonials-widget.php:346 testimonials-widget.php:469
|
324 |
-
#: testimonials-widget.php:
|
325 |
msgid "Title"
|
326 |
msgstr ""
|
327 |
|
328 |
#: lib/class-settings-testimonials-widget.php:347 testimonials-widget.php:471
|
329 |
-
#: testimonials-widget.php:
|
330 |
msgid "Email"
|
331 |
msgstr ""
|
332 |
|
333 |
#: lib/class-settings-testimonials-widget.php:348 testimonials-widget.php:470
|
334 |
-
#: testimonials-widget.php:
|
335 |
msgid "Location"
|
336 |
msgstr ""
|
337 |
|
338 |
#: lib/class-settings-testimonials-widget.php:349 testimonials-widget.php:472
|
339 |
-
#: testimonials-widget.php:
|
340 |
msgid "Company"
|
341 |
msgstr ""
|
342 |
|
343 |
#: lib/class-settings-testimonials-widget.php:350 testimonials-widget.php:473
|
344 |
-
#: testimonials-widget.php:
|
345 |
msgid "URL"
|
346 |
msgstr ""
|
347 |
|
@@ -478,7 +478,7 @@ msgstr ""
|
|
478 |
msgid "Display testimonials with multiple selection and display options"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.12.
|
482 |
#. Plugin Name of the plugin/theme
|
483 |
#: lib/class-testimonials-widget-widget.php:37
|
484 |
msgid "Testimonials Widget"
|
@@ -572,60 +572,60 @@ msgstr ""
|
|
572 |
msgid "»"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: testimonials-widget.php:
|
576 |
msgid "Testimonial Data"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: testimonials-widget.php:
|
580 |
msgid "Enter title here"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: testimonials-widget.php:
|
584 |
msgid "Enter testimonial source here"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: testimonials-widget.php:
|
588 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: testimonials-widget.php:
|
592 |
msgid "Custom field updated."
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: testimonials-widget.php:
|
596 |
msgid "Custom field deleted."
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: testimonials-widget.php:
|
600 |
msgid "Testimonial updated."
|
601 |
msgstr ""
|
602 |
|
603 |
#. translators: %s: date and time of the revision
|
604 |
-
#: testimonials-widget.php:
|
605 |
msgid "Testimonial restored to revision from %s"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: testimonials-widget.php:
|
609 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: testimonials-widget.php:
|
613 |
msgid "Testimonial saved."
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: testimonials-widget.php:
|
617 |
msgid ""
|
618 |
"Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
|
619 |
"a>"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: testimonials-widget.php:
|
623 |
msgid ""
|
624 |
"Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
|
625 |
"\"%2$s\">Preview testimonial</a>"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: testimonials-widget.php:
|
629 |
msgid ""
|
630 |
"Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
|
631 |
"testimonial</a>"
|
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.12.5\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
+
"POT-Creation-Date: 2013-05-12 20:50:09+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
321 |
msgstr ""
|
322 |
|
323 |
#: lib/class-settings-testimonials-widget.php:346 testimonials-widget.php:469
|
324 |
+
#: testimonials-widget.php:1504
|
325 |
msgid "Title"
|
326 |
msgstr ""
|
327 |
|
328 |
#: lib/class-settings-testimonials-widget.php:347 testimonials-widget.php:471
|
329 |
+
#: testimonials-widget.php:1516
|
330 |
msgid "Email"
|
331 |
msgstr ""
|
332 |
|
333 |
#: lib/class-settings-testimonials-widget.php:348 testimonials-widget.php:470
|
334 |
+
#: testimonials-widget.php:1510
|
335 |
msgid "Location"
|
336 |
msgstr ""
|
337 |
|
338 |
#: lib/class-settings-testimonials-widget.php:349 testimonials-widget.php:472
|
339 |
+
#: testimonials-widget.php:1522
|
340 |
msgid "Company"
|
341 |
msgstr ""
|
342 |
|
343 |
#: lib/class-settings-testimonials-widget.php:350 testimonials-widget.php:473
|
344 |
+
#: testimonials-widget.php:1528
|
345 |
msgid "URL"
|
346 |
msgstr ""
|
347 |
|
478 |
msgid "Display testimonials with multiple selection and display options"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.12.5) #-#-#-#-#
|
482 |
#. Plugin Name of the plugin/theme
|
483 |
#: lib/class-testimonials-widget-widget.php:37
|
484 |
msgid "Testimonials Widget"
|
572 |
msgid "»"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: testimonials-widget.php:1540
|
576 |
msgid "Testimonial Data"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: testimonials-widget.php:1565
|
580 |
msgid "Enter title here"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: testimonials-widget.php:1566
|
584 |
msgid "Enter testimonial source here"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: testimonials-widget.php:1591
|
588 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: testimonials-widget.php:1592
|
592 |
msgid "Custom field updated."
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: testimonials-widget.php:1593
|
596 |
msgid "Custom field deleted."
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: testimonials-widget.php:1594
|
600 |
msgid "Testimonial updated."
|
601 |
msgstr ""
|
602 |
|
603 |
#. translators: %s: date and time of the revision
|
604 |
+
#: testimonials-widget.php:1596
|
605 |
msgid "Testimonial restored to revision from %s"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: testimonials-widget.php:1597
|
609 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: testimonials-widget.php:1598
|
613 |
msgid "Testimonial saved."
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: testimonials-widget.php:1599
|
617 |
msgid ""
|
618 |
"Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
|
619 |
"a>"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: testimonials-widget.php:1600
|
623 |
msgid ""
|
624 |
"Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
|
625 |
"\"%2$s\">Preview testimonial</a>"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: testimonials-widget.php:1601
|
629 |
msgid ""
|
630 |
"Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
|
631 |
"testimonial</a>"
|
lib/class-settings-testimonials-widget.php
CHANGED
@@ -943,7 +943,7 @@ EOD;
|
|
943 |
switch ( $validate ) {
|
944 |
case 'absint':
|
945 |
case 'intval':
|
946 |
-
if ( ''
|
947 |
$input[ $id ] = $validate( $input[ $id ] );
|
948 |
else
|
949 |
$input[ $id ] = $default;
|
943 |
switch ( $validate ) {
|
944 |
case 'absint':
|
945 |
case 'intval':
|
946 |
+
if ( '' !== $input[ $id ] )
|
947 |
$input[ $id ] = $validate( $input[ $id ] );
|
948 |
else
|
949 |
$input[ $id ] = $default;
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ 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.0
|
8 |
-
Stable tag: 2.12.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
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.0
|
8 |
+
Stable tag: 2.12.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.12.
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
* License: GPLv2 or later
|
@@ -31,7 +31,7 @@ class Testimonials_Widget {
|
|
31 |
const OLD_NAME = 'testimonialswidget';
|
32 |
const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
|
33 |
const PT = 'testimonials-widget';
|
34 |
-
const VERSION = '2.12.
|
35 |
|
36 |
private static $base = null;
|
37 |
private static $max_num_pages = 0;
|
@@ -1299,6 +1299,9 @@ EOF;
|
|
1299 |
$order = false;
|
1300 |
}
|
1301 |
|
|
|
|
|
|
|
1302 |
$args = array(
|
1303 |
'orderby' => $orderby,
|
1304 |
'post_status' => array(
|
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.12.5
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
* License: GPLv2 or later
|
31 |
const OLD_NAME = 'testimonialswidget';
|
32 |
const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
|
33 |
const PT = 'testimonials-widget';
|
34 |
+
const VERSION = '2.12.5';
|
35 |
|
36 |
private static $base = null;
|
37 |
private static $max_num_pages = 0;
|
1299 |
$order = false;
|
1300 |
}
|
1301 |
|
1302 |
+
if ( empty( $refresh_interval ) )
|
1303 |
+
$limit = 1;
|
1304 |
+
|
1305 |
$args = array(
|
1306 |
'orderby' => $orderby,
|
1307 |
'post_status' => array(
|