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.1 |
Comparing to | |
See all releases |
Code changes from version 2.12.0 to 2.12.1
- changelog.txt +6 -0
- languages/testimonials-widget.pot +24 -25
- lib/class-settings-testimonials-widget.php +18 -15
- readme.txt +1 -1
- testimonials-widget.php +3 -3
changelog.txt
CHANGED
@@ -4,6 +4,12 @@
|
|
4 |
|
5 |
= trunk =
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
= 2.12.0 =
|
8 |
* Add file headers to lib/class*
|
9 |
* Add filter testimonials_widget_widget_options to alter displayed widget options
|
4 |
|
5 |
= trunk =
|
6 |
|
7 |
+
= 2.12.1 =
|
8 |
+
* BUGFIX Settings memory leak [Sites hosed after update 2.12.0](http://wordpress.org/support/topic/premium-sites-hosed-after-update-2120)
|
9 |
+
* BUGFIX [importexport settings failure](http://wordpress.org/support/topic/errors-after-updating)
|
10 |
+
* Change update warning verbiage
|
11 |
+
* Update FAQ & support links to knowledge base
|
12 |
+
|
13 |
= 2.12.0 =
|
14 |
* Add file headers to lib/class*
|
15 |
* Add filter testimonials_widget_widget_options to alter displayed widget options
|
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-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -418,53 +418,53 @@ msgstr ""
|
|
418 |
msgid "Pre 2.11.0. Not HTML5 compliant"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: lib/class-settings-testimonials-widget.php:
|
422 |
-
msgid "
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: lib/class-settings-testimonials-widget.php:
|
426 |
msgid ""
|
427 |
-
"
|
428 |
-
"
|
|
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: lib/class-settings-testimonials-widget.php:
|
432 |
-
msgid "
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: lib/class-settings-testimonials-widget.php:
|
436 |
msgid ""
|
437 |
-
"
|
438 |
-
"
|
439 |
-
"overwrite your current configuration."
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: lib/class-settings-testimonials-widget.php:
|
443 |
msgid "Reset to Defaults?"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: lib/class-settings-testimonials-widget.php:
|
447 |
msgid "Check this box to reset options to their defaults"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: lib/class-settings-testimonials-widget.php:
|
451 |
-
#: lib/class-settings-testimonials-widget.php:
|
452 |
msgid "Testimonials Widget Settings"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: lib/class-settings-testimonials-widget.php:
|
456 |
msgid "Settings"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: lib/class-settings-testimonials-widget.php:
|
460 |
msgid "Save Changes"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: lib/class-settings-testimonials-widget.php:
|
464 |
msgid "Copyright ©%1$s %2$s."
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: lib/class-settings-testimonials-widget.php:
|
468 |
msgid "Required"
|
469 |
msgstr ""
|
470 |
|
@@ -472,7 +472,7 @@ msgstr ""
|
|
472 |
msgid "Display testimonials with multiple selection and display options"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.12.
|
476 |
#. Plugin Name of the plugin/theme
|
477 |
#: lib/class-testimonials-widget-widget.php:37
|
478 |
msgid "Testimonials Widget"
|
@@ -496,9 +496,8 @@ msgstr ""
|
|
496 |
|
497 |
#: testimonials-widget.php:265
|
498 |
msgid ""
|
499 |
-
"Testimonials Widget has
|
500 |
-
"
|
501 |
-
"is funky"
|
502 |
msgstr ""
|
503 |
|
504 |
#: testimonials-widget.php:439
|
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.1\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
+
"POT-Creation-Date: 2013-05-01 18:34:11+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
418 |
msgid "Pre 2.11.0. Not HTML5 compliant"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: lib/class-settings-testimonials-widget.php:452
|
422 |
+
msgid "Import/Export Settings"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: lib/class-settings-testimonials-widget.php:454
|
426 |
msgid ""
|
427 |
+
"These are your current settings in a text format. Copy the textarea contents "
|
428 |
+
"to make a backup of your settings. You can paste new settings here to "
|
429 |
+
"overwrite your current configuration."
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: lib/class-settings-testimonials-widget.php:462
|
433 |
+
msgid "Remove Plugin Data on Deletion?"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: lib/class-settings-testimonials-widget.php:465
|
437 |
msgid ""
|
438 |
+
"Delete all Testimonials Widget data and options from database on plugin "
|
439 |
+
"deletion"
|
|
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: lib/class-settings-testimonials-widget.php:471
|
443 |
msgid "Reset to Defaults?"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: lib/class-settings-testimonials-widget.php:474
|
447 |
msgid "Check this box to reset options to their defaults"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: lib/class-settings-testimonials-widget.php:540
|
451 |
+
#: lib/class-settings-testimonials-widget.php:577
|
452 |
msgid "Testimonials Widget Settings"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: lib/class-settings-testimonials-widget.php:540 testimonials-widget.php:65
|
456 |
msgid "Settings"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: lib/class-settings-testimonials-widget.php:596
|
460 |
msgid "Save Changes"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: lib/class-settings-testimonials-widget.php:607
|
464 |
msgid "Copyright ©%1$s %2$s."
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: lib/class-settings-testimonials-widget.php:973
|
468 |
msgid "Required"
|
469 |
msgstr ""
|
470 |
|
472 |
msgid "Display testimonials with multiple selection and display options"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.12.1) #-#-#-#-#
|
476 |
#. Plugin Name of the plugin/theme
|
477 |
#: lib/class-testimonials-widget-widget.php:37
|
478 |
msgid "Testimonials Widget"
|
496 |
|
497 |
#: testimonials-widget.php:265
|
498 |
msgid ""
|
499 |
+
"If your Testimonials Widget display has gone to funky town, please <a href="
|
500 |
+
"\"%s\">read the FAQ</a> about possible CSS fixes."
|
|
|
501 |
msgstr ""
|
502 |
|
503 |
#: testimonials-widget.php:439
|
lib/class-settings-testimonials-widget.php
CHANGED
@@ -442,6 +442,21 @@ class Testimonials_Widget_Settings {
|
|
442 |
),
|
443 |
);
|
444 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
self::$settings['delete_data'] = array(
|
446 |
'section' => 'reset',
|
447 |
'title' => __( 'Remove Plugin Data on Deletion?', 'testimonials-widget' ),
|
@@ -451,19 +466,6 @@ class Testimonials_Widget_Settings {
|
|
451 |
'widget' => 0,
|
452 |
);
|
453 |
|
454 |
-
$options = tw_get_options();
|
455 |
-
$serialized_options = serialize( $options );
|
456 |
-
$_SESSION['importexport'] = $serialized_options;
|
457 |
-
|
458 |
-
self::$settings['importexport'] = array(
|
459 |
-
'section' => 'reset',
|
460 |
-
'title' => __( 'Import/Export Settings', 'testimonials-widget' ),
|
461 |
-
'type' => 'textarea',
|
462 |
-
'desc' => __( 'These are your current settings in a text format. Copy the textarea contents to make a backup of your settings. You can paste new settings here to overwrite your current configuration.', 'testimonials-widget' ),
|
463 |
-
'std' => $serialized_options,
|
464 |
-
'widget' => 0,
|
465 |
-
);
|
466 |
-
|
467 |
self::$settings['reset_defaults'] = array(
|
468 |
'section' => 'reset',
|
469 |
'title' => __( 'Reset to Defaults?', 'testimonials-widget' ),
|
@@ -871,8 +873,9 @@ EOD;
|
|
871 |
if ( ! empty( $input['importexport'] ) && $_SESSION['importexport'] != $input['importexport'] ) {
|
872 |
$importexport = $input['importexport'];
|
873 |
$unserialized = unserialize( $importexport );
|
874 |
-
|
875 |
-
$
|
|
|
876 |
}
|
877 |
}
|
878 |
}
|
442 |
),
|
443 |
);
|
444 |
|
445 |
+
$options = get_option( self::ID );
|
446 |
+
if ( ! empty( $options ) ) {
|
447 |
+
$serialized_options = serialize( $options );
|
448 |
+
$_SESSION['importexport'] = $serialized_options;
|
449 |
+
|
450 |
+
self::$settings['importexport'] = array(
|
451 |
+
'section' => 'reset',
|
452 |
+
'title' => __( 'Import/Export Settings', 'testimonials-widget' ),
|
453 |
+
'type' => 'textarea',
|
454 |
+
'desc' => __( 'These are your current settings in a text format. Copy the textarea contents to make a backup of your settings. You can paste new settings here to overwrite your current configuration.', 'testimonials-widget' ),
|
455 |
+
'std' => $serialized_options,
|
456 |
+
'widget' => 0,
|
457 |
+
);
|
458 |
+
}
|
459 |
+
|
460 |
self::$settings['delete_data'] = array(
|
461 |
'section' => 'reset',
|
462 |
'title' => __( 'Remove Plugin Data on Deletion?', 'testimonials-widget' ),
|
466 |
'widget' => 0,
|
467 |
);
|
468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
self::$settings['reset_defaults'] = array(
|
470 |
'section' => 'reset',
|
471 |
'title' => __( 'Reset to Defaults?', 'testimonials-widget' ),
|
873 |
if ( ! empty( $input['importexport'] ) && $_SESSION['importexport'] != $input['importexport'] ) {
|
874 |
$importexport = $input['importexport'];
|
875 |
$unserialized = unserialize( $importexport );
|
876 |
+
if ( is_array( $unserialized ) ) {
|
877 |
+
foreach ( $unserialized as $id => $std )
|
878 |
+
$input[$id] = $std;
|
879 |
}
|
880 |
}
|
881 |
}
|
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.1
|
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
|
@@ -30,7 +30,7 @@ class Testimonials_Widget {
|
|
30 |
const ID = 'testimonials-widget-testimonials';
|
31 |
const OLD_NAME = 'testimonialswidget';
|
32 |
const PT = 'testimonials-widget';
|
33 |
-
const VERSION = '2.12.
|
34 |
|
35 |
private static $base = null;
|
36 |
private static $max_num_pages = 0;
|
@@ -262,7 +262,7 @@ class Testimonials_Widget {
|
|
262 |
public function admin_notices() {
|
263 |
$content = '';
|
264 |
$content .= '<div class="error"><p>';
|
265 |
-
$content .= sprintf( __( 'Testimonials Widget has
|
266 |
$content .= '</p></div>';
|
267 |
|
268 |
echo $content;
|
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.1
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
* License: GPLv2 or later
|
30 |
const ID = 'testimonials-widget-testimonials';
|
31 |
const OLD_NAME = 'testimonialswidget';
|
32 |
const PT = 'testimonials-widget';
|
33 |
+
const VERSION = '2.12.1';
|
34 |
|
35 |
private static $base = null;
|
36 |
private static $max_num_pages = 0;
|
262 |
public function admin_notices() {
|
263 |
$content = '';
|
264 |
$content .= '<div class="error"><p>';
|
265 |
+
$content .= sprintf( __( 'If your Testimonials Widget display has gone to funky town, please <a href="%s">read the FAQ</a> about possible CSS fixes.', 'testimonials-widget-premium', 'testimonials-widget' ), 'http://wordpress.org/extend/plugins/testimonials-widget/faq/' );
|
266 |
$content .= '</p></div>';
|
267 |
|
268 |
echo $content;
|