Testimonials Widget - Version 2.16.5

Version Description

= 2.16.0 =

  • Requires PHP 5.3+

= 2.15.0 =

  • If upgrading, bxSlider will not be enabled by default. You must enable it in your widget and global settings. CSS customizations must be reviewed to have the .active and .display-none classes removed. The main .testimonials-widget-testimonial class also need the display: none; and clear: left; removed.

= 2.14.0 =

  • 60 modifications See Changelog
  • CSS wp_register_style and wp_enqueue_style slug changed from 'testimonials-widget' to 'Testimonials_Widget'
  • Gravatar image size now based upon Thumbnail size in Media Settings
  • Scripts ksort removed. Use array_unshift in your testimonials_widget_testimonials_js filters instead.
  • Testimonials > Settings, General tab, option Enable Review Schema? is enabled by default.

= 2.13.6 =

  • IE 7 CSS moved to separate file. Include via Testimonials > Settings if needed

= 2.12.0 =

  • CSS and JavaScript renaming
    • bottom_text renamed to bottom-text
    • close_quote renamed to close-quote
    • display_none renamed to display-none
    • join_location renamed to join-location
    • join_title renamed to join-title
    • open_quote renamed to open-quote
    • testimonialswidget_testimonial renamed to testimonials-widget-testimonial
    • testimonialswidget_testimonials renamed to testimonials-widget-testimonials

= 2.11.3 =

  • Correct filter name testimonials_widget_next_posts_link to testimonials_widget_next_posts_link_text

= 2.11.0 =

  • CSS class names are simplified. For the most part, other than testimonialswidget_testimonial remove testimonialswidget_ from the CSS class name in your CSS customizations.
    • Ex: .testimonialswidget_join becomes .join
    • Ex: .testimonialswidget_author becomes .author
  • Testimonials are now formatted using blockquote than q for HTML5 compliance. If you need q tag formatting, enable it at WP Admin > Testimonials > Settings, Compatibility & Reset tab
    • cite is now div.credit

= 2.8.0 =

  • Deprecated
    • hide_author now hide_source
  • Removed filters testimonials_widget_options_update, testimonials_widget_options_form
    • Use testimonials_widget_validate_settings and testimonials_widget_settings instead
  • Renamed variable and related class widget_text to bottom_text

= 2.7.3 =

  • Quotes are no longer handled via q, p:before, or p: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 CSS display: inline, display: block as expected

= 2.4.1 =

  • Paging is on by default, except for widgets

= 2.0.0 =

  • CSS
    • Class testimonialswidget_company replaces testimonialswidget_source
    • Class testimonialswidget_source replaces testimonialswidget_author
    • The tighten widget display up, p tags within q are displayed inline.
  • JavaScript
    • The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires wp_footer() in the footer.
  • Shortcode options
    • hide_source replaced by hide_url
    • hide_author replaced by hide_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 the source 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 Icon wp plugin Testimonials Widget
Version 2.16.5
Comparing to
See all releases

Code changes from version 2.16.4 to 2.16.5

CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
 
3
  ## master
4
 
 
 
 
5
  ## 2.16.4
6
  * BUGFIX #1 Widget title displays "array" than link
7
  * BUGUnreproducible Call to undefined method Testimonials_Widget::clean_string
2
 
3
  ## master
4
 
5
+ ## 2.16.5
6
+ * BUGFIX Setting's defaults missing during validation
7
+
8
  ## 2.16.4
9
  * BUGFIX #1 Widget title displays "array" than link
10
  * BUGUnreproducible Call to undefined method Testimonials_Widget::clean_string
languages/testimonials-widget.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Testimonials package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Testimonials 2.16.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
- "POT-Creation-Date: 2013-12-05 19:38:20+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -129,27 +129,27 @@ msgid "Settings"
129
  msgstr ""
130
 
131
  #: lib/class-testimonials-widget-settings.php:105
132
- #: lib/class-testimonials-widget-settings.php:872
133
  msgid "General"
134
  msgstr ""
135
 
136
  #: lib/class-testimonials-widget-settings.php:106
137
- #: lib/class-testimonials-widget-settings.php:880
138
  msgid "Selection"
139
  msgstr ""
140
 
141
  #: lib/class-testimonials-widget-settings.php:107
142
- #: lib/class-testimonials-widget-settings.php:888
143
  msgid "Ordering"
144
  msgstr ""
145
 
146
  #: lib/class-testimonials-widget-settings.php:108
147
- #: lib/class-testimonials-widget-settings.php:896
148
  msgid "Widget"
149
  msgstr ""
150
 
151
  #: lib/class-testimonials-widget-settings.php:109
152
- #: lib/class-testimonials-widget-settings.php:904
153
  msgid "Post Type"
154
  msgstr ""
155
 
@@ -634,43 +634,43 @@ msgstr ""
634
  msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
635
  msgstr ""
636
 
637
- #: lib/class-testimonials-widget-settings.php:858
638
  msgid "These Testimonials Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you'll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it."
639
  msgstr ""
640
 
641
- #: lib/class-testimonials-widget-settings.php:860
642
  msgid "Shortcode option names are listed below each entry."
643
  msgstr ""
644
 
645
- #: lib/class-testimonials-widget-settings.php:863
646
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
647
  msgstr ""
648
 
649
- #: lib/class-testimonials-widget-settings.php:873
650
  msgid "Show or hide optional fields."
651
  msgstr ""
652
 
653
- #: lib/class-testimonials-widget-settings.php:881
654
  msgid "Options used to select testimonials."
655
  msgstr ""
656
 
657
- #: lib/class-testimonials-widget-settings.php:889
658
  msgid "Options used to determine displayed testimonials ordering."
659
  msgstr ""
660
 
661
- #: lib/class-testimonials-widget-settings.php:897
662
  msgid "Options related to showing testimonials in widgets."
663
  msgstr ""
664
 
665
- #: lib/class-testimonials-widget-settings.php:905
666
  msgid "Archive and singular page URL related testimonials options."
667
  msgstr ""
668
 
669
- #: lib/class-testimonials-widget-settings.php:912
670
  msgid "Compatibility & Reset"
671
  msgstr ""
672
 
673
- #: lib/class-testimonials-widget-settings.php:913
674
  msgid "Backwards compatibility, import/export options, and reset options."
675
  msgstr ""
676
 
2
  # This file is distributed under the same license as the Testimonials package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Testimonials 2.16.5\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
+ "POT-Creation-Date: 2013-12-05 19:54:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
129
  msgstr ""
130
 
131
  #: lib/class-testimonials-widget-settings.php:105
132
+ #: lib/class-testimonials-widget-settings.php:874
133
  msgid "General"
134
  msgstr ""
135
 
136
  #: lib/class-testimonials-widget-settings.php:106
137
+ #: lib/class-testimonials-widget-settings.php:882
138
  msgid "Selection"
139
  msgstr ""
140
 
141
  #: lib/class-testimonials-widget-settings.php:107
142
+ #: lib/class-testimonials-widget-settings.php:890
143
  msgid "Ordering"
144
  msgstr ""
145
 
146
  #: lib/class-testimonials-widget-settings.php:108
147
+ #: lib/class-testimonials-widget-settings.php:898
148
  msgid "Widget"
149
  msgstr ""
150
 
151
  #: lib/class-testimonials-widget-settings.php:109
152
+ #: lib/class-testimonials-widget-settings.php:906
153
  msgid "Post Type"
154
  msgstr ""
155
 
634
  msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
635
  msgstr ""
636
 
637
+ #: lib/class-testimonials-widget-settings.php:860
638
  msgid "These Testimonials Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you'll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it."
639
  msgstr ""
640
 
641
+ #: lib/class-testimonials-widget-settings.php:862
642
  msgid "Shortcode option names are listed below each entry."
643
  msgstr ""
644
 
645
+ #: lib/class-testimonials-widget-settings.php:865
646
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
647
  msgstr ""
648
 
649
+ #: lib/class-testimonials-widget-settings.php:875
650
  msgid "Show or hide optional fields."
651
  msgstr ""
652
 
653
+ #: lib/class-testimonials-widget-settings.php:883
654
  msgid "Options used to select testimonials."
655
  msgstr ""
656
 
657
+ #: lib/class-testimonials-widget-settings.php:891
658
  msgid "Options used to determine displayed testimonials ordering."
659
  msgstr ""
660
 
661
+ #: lib/class-testimonials-widget-settings.php:899
662
  msgid "Options related to showing testimonials in widgets."
663
  msgstr ""
664
 
665
+ #: lib/class-testimonials-widget-settings.php:907
666
  msgid "Archive and singular page URL related testimonials options."
667
  msgstr ""
668
 
669
+ #: lib/class-testimonials-widget-settings.php:914
670
  msgid "Compatibility & Reset"
671
  msgstr ""
672
 
673
+ #: lib/class-testimonials-widget-settings.php:915
674
  msgid "Backwards compatibility, import/export options, and reset options."
675
  msgstr ""
676
 
lib/class-testimonials-widget-settings.php CHANGED
@@ -745,6 +745,8 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
745
  $errors = $validated['errors'];
746
  }
747
 
 
 
748
  if ( ! empty( $input['has_archive'] ) )
749
  $input['has_archive'] = self::prevent_slug_conflict( $input['has_archive'] );
750
  else
745
  $errors = $validated['errors'];
746
  }
747
 
748
+ $defaults = self::get_defaults();
749
+
750
  if ( ! empty( $input['has_archive'] ) )
751
  $input['has_archive'] = self::prevent_slug_conflict( $input['has_archive'] );
752
  else
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://aihr.us/about-aihrus/donate/
5
  Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
6
  Requires at least: 3.6
7
  Tested up to: 3.8.0
8
- Stable tag: 2.16.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
5
  Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
6
  Requires at least: 3.6
7
  Tested up to: 3.8.0
8
+ Stable tag: 2.16.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
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Testimonials lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
6
- * Version: 2.16.4
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
@@ -45,7 +45,7 @@ class Testimonials_Widget extends Aihrus_Common {
45
  const PLUGIN_BASE = 'testimonials-widget/testimonials-widget.php';
46
  const PT = 'testimonials-widget';
47
  const SLUG = 'tw_';
48
- const VERSION = '2.16.4';
49
 
50
  private static $found_posts = 0;
51
  private static $max_num_pages = 0;
3
  * Plugin Name: Testimonials
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Testimonials lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
6
+ * Version: 2.16.5
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
45
  const PLUGIN_BASE = 'testimonials-widget/testimonials-widget.php';
46
  const PT = 'testimonials-widget';
47
  const SLUG = 'tw_';
48
+ const VERSION = '2.16.5';
49
 
50
  private static $found_posts = 0;
51
  private static $max_num_pages = 0;