Testimonials Widget - Version 3.4.4

Version Description

= 3.0.0 =

This is a major overhaul without backwards compliance of over 80 changes. Please read the Testimonials Widget 3.0 and Testimonials Widget Premium 2.0 Upgrade Notice for more help.

If you use custom CSS, actions, or filters to modify Testimonials Widget and Testimonials Widget Premium actions or output, this upgrade will not be compatible with those modifications until corrections are made.

= Older Versions =

Read UPGRADING.

Download this release

Release Info

Developer saurabhd
Plugin Icon wp plugin Testimonials Widget
Version 3.4.4
Comparing to
See all releases

Code changes from version 3.4.3 to 3.4.4

CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
 
3
  ## master
4
 
 
 
 
5
  ## 3.4.3
6
  * Add setting for scroll on hover
7
  * Add TW Slider start from 1st index
2
 
3
  ## master
4
 
5
+ ## 3.4.4
6
+ * Fix `Parse error: syntax error, unexpected ‘[‘`
7
+
8
  ## 3.4.3
9
  * Add setting for scroll on hover
10
  * Add TW Slider start from 1st index
includes/class-testimonials-widget.php CHANGED
@@ -1098,9 +1098,8 @@ EOF;
1098
  }
1099
 
1100
  if ( $random ) {
1101
- $orders = ['DESC', 'ASC'];
1102
- $orderby = 'date';
1103
- $order = $orders[rand(0, 1)];
1104
  }
1105
 
1106
  $args = array(
1098
  }
1099
 
1100
  if ( $random ) {
1101
+ $orderby = 'rand';
1102
+ $order = false;
 
1103
  }
1104
 
1105
  $args = array(
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 3.4.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-widget\n"
7
- "POT-Creation-Date: 2018-05-01 14:24:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -495,7 +495,7 @@ msgstr ""
495
  #: includes/class-testimonials-widget-settings.php:519
496
  #: includes/class-testimonials-widget.php:504
497
  #: includes/class-testimonials-widget.php:535
498
- #: includes/class-testimonials-widget.php:1378
499
  msgid "Author"
500
  msgstr ""
501
 
@@ -526,31 +526,31 @@ msgstr ""
526
 
527
  #: includes/class-testimonials-widget-settings.php:533
528
  #: includes/class-testimonials-widget.php:540
529
- #: includes/class-testimonials-widget.php:1384
530
  msgid "Job Title"
531
  msgstr ""
532
 
533
  #: includes/class-testimonials-widget-settings.php:534
534
  #: includes/class-testimonials-widget.php:555
535
- #: includes/class-testimonials-widget.php:1402
536
  msgid "Email"
537
  msgstr ""
538
 
539
  #: includes/class-testimonials-widget-settings.php:535
540
  #: includes/class-testimonials-widget.php:545
541
- #: includes/class-testimonials-widget.php:1390
542
  msgid "Location"
543
  msgstr ""
544
 
545
  #: includes/class-testimonials-widget-settings.php:536
546
  #: includes/class-testimonials-widget.php:550
547
- #: includes/class-testimonials-widget.php:1396
548
  msgid "Company"
549
  msgstr ""
550
 
551
  #: includes/class-testimonials-widget-settings.php:537
552
  #: includes/class-testimonials-widget.php:560
553
- #: includes/class-testimonials-widget.php:1408
554
  msgid "URL"
555
  msgstr ""
556
 
@@ -761,8 +761,8 @@ msgid "Search Testimonials"
761
  msgstr ""
762
 
763
  #: includes/class-testimonials-widget.php:580
764
- #: includes/class-testimonials-widget.php:1469
765
- #: includes/class-testimonials-widget.php:1644
766
  msgid "Testimonial"
767
  msgstr ""
768
 
@@ -770,84 +770,84 @@ msgstr ""
770
  msgid "View Testimonial"
771
  msgstr ""
772
 
773
- #: includes/class-testimonials-widget.php:1381
774
  msgid "Use when the testimonial title is not the authors' name."
775
  msgstr ""
776
 
777
- #: includes/class-testimonials-widget.php:1405
778
  msgid "If an email is provided, but not an image, a Gravatar icon will be attempted to be loaded."
779
  msgstr ""
780
 
781
- #: includes/class-testimonials-widget.php:1420
782
  msgid "Testimonial Data"
783
  msgstr ""
784
 
785
- #: includes/class-testimonials-widget.php:1444
786
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
787
  msgstr ""
788
 
789
- #: includes/class-testimonials-widget.php:1445
790
  msgid "Custom field updated."
791
  msgstr ""
792
 
793
- #: includes/class-testimonials-widget.php:1446
794
  msgid "Custom field deleted."
795
  msgstr ""
796
 
797
- #: includes/class-testimonials-widget.php:1447
798
  msgid "Testimonial updated."
799
  msgstr ""
800
 
801
  #. translators: %s: date and time of the revision
802
 
803
- #: includes/class-testimonials-widget.php:1449
804
  msgid "Testimonial restored to revision from %s"
805
  msgstr ""
806
 
807
- #: includes/class-testimonials-widget.php:1450
808
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
809
  msgstr ""
810
 
811
- #: includes/class-testimonials-widget.php:1451
812
  msgid "Testimonial saved."
813
  msgstr ""
814
 
815
- #: includes/class-testimonials-widget.php:1452
816
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
817
  msgstr ""
818
 
819
- #: includes/class-testimonials-widget.php:1453
820
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
821
  msgstr ""
822
 
823
- #: includes/class-testimonials-widget.php:1454
824
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
825
  msgstr ""
826
 
827
- #: includes/class-testimonials-widget.php:1539
828
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
829
  msgstr ""
830
 
831
- #: includes/class-testimonials-widget.php:1558
832
  msgid "Failed version check"
833
  msgstr ""
834
 
835
- #: includes/class-testimonials-widget.php:1589
836
  msgid "Shortcode"
837
  msgstr ""
838
 
839
- #: includes/class-testimonials-widget.php:2027
840
- #: includes/class-testimonials-widget.php:2100
841
  msgid "Used with: "
842
  msgstr ""
843
 
844
- #: includes/class-testimonials-widget.php:2064
845
- #: includes/class-testimonials-widget.php:2128
846
  msgid "Options: "
847
  msgstr ""
848
 
849
- #: includes/class-testimonials-widget.php:2069
850
- #: includes/class-testimonials-widget.php:2133
851
  msgid "Usage: "
852
  msgstr ""
853
 
2
  # This file is distributed under the same license as the Testimonials Widget package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Testimonials Widget 3.4.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-widget\n"
7
+ "POT-Creation-Date: 2018-05-02 13:01:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
495
  #: includes/class-testimonials-widget-settings.php:519
496
  #: includes/class-testimonials-widget.php:504
497
  #: includes/class-testimonials-widget.php:535
498
+ #: includes/class-testimonials-widget.php:1377
499
  msgid "Author"
500
  msgstr ""
501
 
526
 
527
  #: includes/class-testimonials-widget-settings.php:533
528
  #: includes/class-testimonials-widget.php:540
529
+ #: includes/class-testimonials-widget.php:1383
530
  msgid "Job Title"
531
  msgstr ""
532
 
533
  #: includes/class-testimonials-widget-settings.php:534
534
  #: includes/class-testimonials-widget.php:555
535
+ #: includes/class-testimonials-widget.php:1401
536
  msgid "Email"
537
  msgstr ""
538
 
539
  #: includes/class-testimonials-widget-settings.php:535
540
  #: includes/class-testimonials-widget.php:545
541
+ #: includes/class-testimonials-widget.php:1389
542
  msgid "Location"
543
  msgstr ""
544
 
545
  #: includes/class-testimonials-widget-settings.php:536
546
  #: includes/class-testimonials-widget.php:550
547
+ #: includes/class-testimonials-widget.php:1395
548
  msgid "Company"
549
  msgstr ""
550
 
551
  #: includes/class-testimonials-widget-settings.php:537
552
  #: includes/class-testimonials-widget.php:560
553
+ #: includes/class-testimonials-widget.php:1407
554
  msgid "URL"
555
  msgstr ""
556
 
761
  msgstr ""
762
 
763
  #: includes/class-testimonials-widget.php:580
764
+ #: includes/class-testimonials-widget.php:1468
765
+ #: includes/class-testimonials-widget.php:1643
766
  msgid "Testimonial"
767
  msgstr ""
768
 
770
  msgid "View Testimonial"
771
  msgstr ""
772
 
773
+ #: includes/class-testimonials-widget.php:1380
774
  msgid "Use when the testimonial title is not the authors' name."
775
  msgstr ""
776
 
777
+ #: includes/class-testimonials-widget.php:1404
778
  msgid "If an email is provided, but not an image, a Gravatar icon will be attempted to be loaded."
779
  msgstr ""
780
 
781
+ #: includes/class-testimonials-widget.php:1419
782
  msgid "Testimonial Data"
783
  msgstr ""
784
 
785
+ #: includes/class-testimonials-widget.php:1443
786
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
787
  msgstr ""
788
 
789
+ #: includes/class-testimonials-widget.php:1444
790
  msgid "Custom field updated."
791
  msgstr ""
792
 
793
+ #: includes/class-testimonials-widget.php:1445
794
  msgid "Custom field deleted."
795
  msgstr ""
796
 
797
+ #: includes/class-testimonials-widget.php:1446
798
  msgid "Testimonial updated."
799
  msgstr ""
800
 
801
  #. translators: %s: date and time of the revision
802
 
803
+ #: includes/class-testimonials-widget.php:1448
804
  msgid "Testimonial restored to revision from %s"
805
  msgstr ""
806
 
807
+ #: includes/class-testimonials-widget.php:1449
808
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
809
  msgstr ""
810
 
811
+ #: includes/class-testimonials-widget.php:1450
812
  msgid "Testimonial saved."
813
  msgstr ""
814
 
815
+ #: includes/class-testimonials-widget.php:1451
816
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
817
  msgstr ""
818
 
819
+ #: includes/class-testimonials-widget.php:1452
820
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
821
  msgstr ""
822
 
823
+ #: includes/class-testimonials-widget.php:1453
824
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
825
  msgstr ""
826
 
827
+ #: includes/class-testimonials-widget.php:1538
828
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
829
  msgstr ""
830
 
831
+ #: includes/class-testimonials-widget.php:1557
832
  msgid "Failed version check"
833
  msgstr ""
834
 
835
+ #: includes/class-testimonials-widget.php:1588
836
  msgid "Shortcode"
837
  msgstr ""
838
 
839
+ #: includes/class-testimonials-widget.php:2026
840
+ #: includes/class-testimonials-widget.php:2099
841
  msgid "Used with: "
842
  msgstr ""
843
 
844
+ #: includes/class-testimonials-widget.php:2063
845
+ #: includes/class-testimonials-widget.php:2127
846
  msgid "Options: "
847
  msgstr ""
848
 
849
+ #: includes/class-testimonials-widget.php:2068
850
+ #: includes/class-testimonials-widget.php:2132
851
  msgid "Usage: "
852
  msgstr ""
853
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://axelerant.com/about-axelerant/donate/
5
  Tags: axelerant, client, customer, portfolio, quote, quotes, random, recommendation, reference, review, reviews, slider, testimonial, testimonials, wpml
6
  Requires at least: 3.9.2
7
  Tested up to: 4.9.5
8
- Stable tag: 3.4.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
5
  Tags: axelerant, client, customer, portfolio, quote, quotes, random, recommendation, reference, review, reviews, slider, testimonial, testimonials, wpml
6
  Requires at least: 3.9.2
7
  Tested up to: 4.9.5
8
+ Stable tag: 3.4.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
testimonials-widget.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Easily add social proofing to your website with Testimonials Widget. List or slide reviews via functions, shortcodes, or widgets.
6
  * lets you socially randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
7
- * Version: 3.4.3
8
  * Author: Axelerant
9
  * Author URI: https://axelerant.com/
10
  * License: GPLv2 or later
@@ -64,7 +64,7 @@ if ( ! defined( 'TW_PREMIUM_LINK' ) ) {
64
  }
65
 
66
  if ( ! defined( 'TW_VERSION' ) ) {
67
- define( 'TW_VERSION', '3.4.3' );
68
  }
69
 
70
  require_once TW_DIR_INC . 'requirements.php';
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Easily add social proofing to your website with Testimonials Widget. List or slide reviews via functions, shortcodes, or widgets.
6
  * lets you socially randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
7
+ * Version: 3.4.4
8
  * Author: Axelerant
9
  * Author URI: https://axelerant.com/
10
  * License: GPLv2 or later
64
  }
65
 
66
  if ( ! defined( 'TW_VERSION' ) ) {
67
+ define( 'TW_VERSION', '3.4.4' );
68
  }
69
 
70
  require_once TW_DIR_INC . 'requirements.php';