Testimonials Widget - Version 3.3.2

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 subharanjan
Plugin Icon wp plugin Testimonials Widget
Version 3.3.2
Comparing to
See all releases

Code changes from version 3.3.1 to 3.3.2

CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
 
3
  ## master
4
 
 
 
 
5
  ## 3.3.1
6
  * Add notice for existing users about review schema
7
  * Confirm WordPress 4.5.3 compatibility
2
 
3
  ## master
4
 
5
+ ## 3.3.2
6
+ * Fix `Fatal error: Can't use function return value in write context`
7
+
8
  ## 3.3.1
9
  * Add notice for existing users about review schema
10
  * Confirm WordPress 4.5.3 compatibility
includes/class-testimonials-widget.php CHANGED
@@ -391,8 +391,9 @@ class Axl_Testimonials_Widget extends Aihrus_Common {
391
 
392
 
393
  public static function notice_schema() {
394
- if ( empty( get_option( self::NOTICE_KEY ) ) ) {
395
 
 
396
  $text = __( TW_NAME . ' uses <a href="http://schema.org/Review" target="_blank">Review schema</a> markup for the testimonials. A recent move by Google <a href="https://www.seroundtable.com/google-takes-action-on-flight-rich-snippet-markup-22029.html" target="_blank">may penalize your website for using improper schema snippets</a>. Please use <strong>Review schema</strong> at your own risk via ', 'testimonials-widget' );
397
 
398
  $notice_content = '';
391
 
392
 
393
  public static function notice_schema() {
394
+ $notice_set = get_option( self::NOTICE_KEY );
395
 
396
+ if ( empty( $notice_set ) ) {
397
  $text = __( TW_NAME . ' uses <a href="http://schema.org/Review" target="_blank">Review schema</a> markup for the testimonials. A recent move by Google <a href="https://www.seroundtable.com/google-takes-action-on-flight-rich-snippet-markup-22029.html" target="_blank">may penalize your website for using improper schema snippets</a>. Please use <strong>Review schema</strong> at your own risk via ', 'testimonials-widget' );
398
 
399
  $notice_content = '';
languages/testimonials-widget.pot CHANGED
@@ -2,10 +2,10 @@
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.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-"
7
  "widget\n"
8
- "POT-Creation-Date: 2016-07-06 11:02:37+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -117,8 +117,8 @@ msgid "Title"
117
  msgstr ""
118
 
119
  #: includes/class-testimonials-widget-settings.php:140
120
- #: includes/class-testimonials-widget.php:624
121
- #: includes/class-testimonials-widget.php:672
122
  msgid "Testimonials"
123
  msgstr ""
124
 
@@ -506,14 +506,14 @@ msgstr ""
506
 
507
  #: includes/class-testimonials-widget-settings.php:516
508
  #: includes/class-testimonials-widget-settings.php:519
509
- #: includes/class-testimonials-widget.php:554
510
- #: includes/class-testimonials-widget.php:585
511
- #: includes/class-testimonials-widget.php:1436
512
  msgid "Author"
513
  msgstr ""
514
 
515
  #: includes/class-testimonials-widget-settings.php:517
516
- #: includes/class-testimonials-widget.php:556
517
  msgid "Date"
518
  msgstr ""
519
 
@@ -540,32 +540,32 @@ msgid "None"
540
  msgstr ""
541
 
542
  #: includes/class-testimonials-widget-settings.php:533
543
- #: includes/class-testimonials-widget.php:590
544
- #: includes/class-testimonials-widget.php:1442
545
  msgid "Job Title"
546
  msgstr ""
547
 
548
  #: includes/class-testimonials-widget-settings.php:534
549
- #: includes/class-testimonials-widget.php:605
550
- #: includes/class-testimonials-widget.php:1460
551
  msgid "Email"
552
  msgstr ""
553
 
554
  #: includes/class-testimonials-widget-settings.php:535
555
- #: includes/class-testimonials-widget.php:595
556
- #: includes/class-testimonials-widget.php:1448
557
  msgid "Location"
558
  msgstr ""
559
 
560
  #: includes/class-testimonials-widget-settings.php:536
561
- #: includes/class-testimonials-widget.php:600
562
- #: includes/class-testimonials-widget.php:1454
563
  msgid "Company"
564
  msgstr ""
565
 
566
  #: includes/class-testimonials-widget-settings.php:537
567
- #: includes/class-testimonials-widget.php:610
568
- #: includes/class-testimonials-widget.php:1466
569
  msgid "URL"
570
  msgstr ""
571
 
@@ -726,15 +726,15 @@ msgstr ""
726
 
727
  #: includes/class-testimonials-widget-tag-cloud-widget.php:63
728
  #: includes/class-testimonials-widget-tag-cloud-widget.php:70
729
- #: includes/class-testimonials-widget.php:561
730
- #: includes/class-testimonials-widget.php:564
731
  msgid "Category"
732
  msgstr ""
733
 
734
  #: includes/class-testimonials-widget-tag-cloud-widget.php:64
735
  #: includes/class-testimonials-widget-tag-cloud-widget.php:71
736
- #: includes/class-testimonials-widget.php:562
737
- #: includes/class-testimonials-widget.php:565
738
  msgid "Tags"
739
  msgstr ""
740
 
@@ -748,145 +748,145 @@ msgid ""
748
  "\">read the FAQ</a> about possible CSS fixes."
749
  msgstr ""
750
 
751
- #: includes/class-testimonials-widget.php:555
752
  msgid "Published by"
753
  msgstr ""
754
 
755
- #: includes/class-testimonials-widget.php:570
756
  msgid "ID"
757
  msgstr ""
758
 
759
- #: includes/class-testimonials-widget.php:575
760
  msgid "Image"
761
  msgstr ""
762
 
763
- #: includes/class-testimonials-widget.php:580
764
  msgid "Shortcodes"
765
  msgstr ""
766
 
767
- #: includes/class-testimonials-widget.php:621
768
  msgid "Add New"
769
  msgstr ""
770
 
771
- #: includes/class-testimonials-widget.php:622
772
- #: includes/class-testimonials-widget.php:625
773
  msgid "Add New Testimonial"
774
  msgstr ""
775
 
776
- #: includes/class-testimonials-widget.php:623
777
  msgid "Edit Testimonial"
778
  msgstr ""
779
 
780
- #: includes/class-testimonials-widget.php:626
781
- #: includes/class-testimonials-widget.php:942
782
  msgid "No testimonials found"
783
  msgstr ""
784
 
785
- #: includes/class-testimonials-widget.php:627
786
  msgid "No testimonials found in Trash"
787
  msgstr ""
788
 
789
- #: includes/class-testimonials-widget.php:629
790
  msgid "Search Testimonials"
791
  msgstr ""
792
 
793
- #: includes/class-testimonials-widget.php:630
794
- #: includes/class-testimonials-widget.php:1527
795
- #: includes/class-testimonials-widget.php:1888
796
  msgid "Testimonial"
797
  msgstr ""
798
 
799
- #: includes/class-testimonials-widget.php:631
800
  msgid "View Testimonial"
801
  msgstr ""
802
 
803
- #: includes/class-testimonials-widget.php:1439
804
  msgid "Use when the testimonial title is not the authors' name."
805
  msgstr ""
806
 
807
- #: includes/class-testimonials-widget.php:1463
808
  msgid ""
809
  "If an email is provided, but not an image, a Gravatar icon will be attempted "
810
  "to be loaded."
811
  msgstr ""
812
 
813
- #: includes/class-testimonials-widget.php:1478
814
  msgid "Testimonial Data"
815
  msgstr ""
816
 
817
- #: includes/class-testimonials-widget.php:1502
818
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
819
  msgstr ""
820
 
821
- #: includes/class-testimonials-widget.php:1503
822
  msgid "Custom field updated."
823
  msgstr ""
824
 
825
- #: includes/class-testimonials-widget.php:1504
826
  msgid "Custom field deleted."
827
  msgstr ""
828
 
829
- #: includes/class-testimonials-widget.php:1505
830
  msgid "Testimonial updated."
831
  msgstr ""
832
 
833
  #. translators: %s: date and time of the revision
834
- #: includes/class-testimonials-widget.php:1507
835
  msgid "Testimonial restored to revision from %s"
836
  msgstr ""
837
 
838
- #: includes/class-testimonials-widget.php:1508
839
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
840
  msgstr ""
841
 
842
- #: includes/class-testimonials-widget.php:1509
843
  msgid "Testimonial saved."
844
  msgstr ""
845
 
846
- #: includes/class-testimonials-widget.php:1510
847
  msgid ""
848
  "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
849
  "a>"
850
  msgstr ""
851
 
852
- #: includes/class-testimonials-widget.php:1511
853
  msgid ""
854
  "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
855
  "\"%2$s\">Preview testimonial</a>"
856
  msgstr ""
857
 
858
- #: includes/class-testimonials-widget.php:1512
859
  msgid ""
860
  "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
861
  "testimonial</a>"
862
  msgstr ""
863
 
864
- #: includes/class-testimonials-widget.php:1783
865
  msgid ""
866
  "If your Testimonials display has gone to funky town, please <a href=\"%s"
867
  "\">read the FAQ</a> about possible fixes."
868
  msgstr ""
869
 
870
- #: includes/class-testimonials-widget.php:1802
871
  msgid "Failed version check"
872
  msgstr ""
873
 
874
- #: includes/class-testimonials-widget.php:1833
875
  msgid "Shortcode"
876
  msgstr ""
877
 
878
- #: includes/class-testimonials-widget.php:2271
879
- #: includes/class-testimonials-widget.php:2344
880
  msgid "Used with: "
881
  msgstr ""
882
 
883
- #: includes/class-testimonials-widget.php:2308
884
- #: includes/class-testimonials-widget.php:2372
885
  msgid "Options: "
886
  msgstr ""
887
 
888
- #: includes/class-testimonials-widget.php:2313
889
- #: includes/class-testimonials-widget.php:2377
890
  msgid "Usage: "
891
  msgstr ""
892
 
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.3.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-"
7
  "widget\n"
8
+ "POT-Creation-Date: 2016-07-07 04:12:42+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
117
  msgstr ""
118
 
119
  #: includes/class-testimonials-widget-settings.php:140
120
+ #: includes/class-testimonials-widget.php:625
121
+ #: includes/class-testimonials-widget.php:673
122
  msgid "Testimonials"
123
  msgstr ""
124
 
506
 
507
  #: includes/class-testimonials-widget-settings.php:516
508
  #: includes/class-testimonials-widget-settings.php:519
509
+ #: includes/class-testimonials-widget.php:555
510
+ #: includes/class-testimonials-widget.php:586
511
+ #: includes/class-testimonials-widget.php:1437
512
  msgid "Author"
513
  msgstr ""
514
 
515
  #: includes/class-testimonials-widget-settings.php:517
516
+ #: includes/class-testimonials-widget.php:557
517
  msgid "Date"
518
  msgstr ""
519
 
540
  msgstr ""
541
 
542
  #: includes/class-testimonials-widget-settings.php:533
543
+ #: includes/class-testimonials-widget.php:591
544
+ #: includes/class-testimonials-widget.php:1443
545
  msgid "Job Title"
546
  msgstr ""
547
 
548
  #: includes/class-testimonials-widget-settings.php:534
549
+ #: includes/class-testimonials-widget.php:606
550
+ #: includes/class-testimonials-widget.php:1461
551
  msgid "Email"
552
  msgstr ""
553
 
554
  #: includes/class-testimonials-widget-settings.php:535
555
+ #: includes/class-testimonials-widget.php:596
556
+ #: includes/class-testimonials-widget.php:1449
557
  msgid "Location"
558
  msgstr ""
559
 
560
  #: includes/class-testimonials-widget-settings.php:536
561
+ #: includes/class-testimonials-widget.php:601
562
+ #: includes/class-testimonials-widget.php:1455
563
  msgid "Company"
564
  msgstr ""
565
 
566
  #: includes/class-testimonials-widget-settings.php:537
567
+ #: includes/class-testimonials-widget.php:611
568
+ #: includes/class-testimonials-widget.php:1467
569
  msgid "URL"
570
  msgstr ""
571
 
726
 
727
  #: includes/class-testimonials-widget-tag-cloud-widget.php:63
728
  #: includes/class-testimonials-widget-tag-cloud-widget.php:70
729
+ #: includes/class-testimonials-widget.php:562
730
+ #: includes/class-testimonials-widget.php:565
731
  msgid "Category"
732
  msgstr ""
733
 
734
  #: includes/class-testimonials-widget-tag-cloud-widget.php:64
735
  #: includes/class-testimonials-widget-tag-cloud-widget.php:71
736
+ #: includes/class-testimonials-widget.php:563
737
+ #: includes/class-testimonials-widget.php:566
738
  msgid "Tags"
739
  msgstr ""
740
 
748
  "\">read the FAQ</a> about possible CSS fixes."
749
  msgstr ""
750
 
751
+ #: includes/class-testimonials-widget.php:556
752
  msgid "Published by"
753
  msgstr ""
754
 
755
+ #: includes/class-testimonials-widget.php:571
756
  msgid "ID"
757
  msgstr ""
758
 
759
+ #: includes/class-testimonials-widget.php:576
760
  msgid "Image"
761
  msgstr ""
762
 
763
+ #: includes/class-testimonials-widget.php:581
764
  msgid "Shortcodes"
765
  msgstr ""
766
 
767
+ #: includes/class-testimonials-widget.php:622
768
  msgid "Add New"
769
  msgstr ""
770
 
771
+ #: includes/class-testimonials-widget.php:623
772
+ #: includes/class-testimonials-widget.php:626
773
  msgid "Add New Testimonial"
774
  msgstr ""
775
 
776
+ #: includes/class-testimonials-widget.php:624
777
  msgid "Edit Testimonial"
778
  msgstr ""
779
 
780
+ #: includes/class-testimonials-widget.php:627
781
+ #: includes/class-testimonials-widget.php:943
782
  msgid "No testimonials found"
783
  msgstr ""
784
 
785
+ #: includes/class-testimonials-widget.php:628
786
  msgid "No testimonials found in Trash"
787
  msgstr ""
788
 
789
+ #: includes/class-testimonials-widget.php:630
790
  msgid "Search Testimonials"
791
  msgstr ""
792
 
793
+ #: includes/class-testimonials-widget.php:631
794
+ #: includes/class-testimonials-widget.php:1528
795
+ #: includes/class-testimonials-widget.php:1889
796
  msgid "Testimonial"
797
  msgstr ""
798
 
799
+ #: includes/class-testimonials-widget.php:632
800
  msgid "View Testimonial"
801
  msgstr ""
802
 
803
+ #: includes/class-testimonials-widget.php:1440
804
  msgid "Use when the testimonial title is not the authors' name."
805
  msgstr ""
806
 
807
+ #: includes/class-testimonials-widget.php:1464
808
  msgid ""
809
  "If an email is provided, but not an image, a Gravatar icon will be attempted "
810
  "to be loaded."
811
  msgstr ""
812
 
813
+ #: includes/class-testimonials-widget.php:1479
814
  msgid "Testimonial Data"
815
  msgstr ""
816
 
817
+ #: includes/class-testimonials-widget.php:1503
818
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
819
  msgstr ""
820
 
821
+ #: includes/class-testimonials-widget.php:1504
822
  msgid "Custom field updated."
823
  msgstr ""
824
 
825
+ #: includes/class-testimonials-widget.php:1505
826
  msgid "Custom field deleted."
827
  msgstr ""
828
 
829
+ #: includes/class-testimonials-widget.php:1506
830
  msgid "Testimonial updated."
831
  msgstr ""
832
 
833
  #. translators: %s: date and time of the revision
834
+ #: includes/class-testimonials-widget.php:1508
835
  msgid "Testimonial restored to revision from %s"
836
  msgstr ""
837
 
838
+ #: includes/class-testimonials-widget.php:1509
839
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
840
  msgstr ""
841
 
842
+ #: includes/class-testimonials-widget.php:1510
843
  msgid "Testimonial saved."
844
  msgstr ""
845
 
846
+ #: includes/class-testimonials-widget.php:1511
847
  msgid ""
848
  "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
849
  "a>"
850
  msgstr ""
851
 
852
+ #: includes/class-testimonials-widget.php:1512
853
  msgid ""
854
  "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
855
  "\"%2$s\">Preview testimonial</a>"
856
  msgstr ""
857
 
858
+ #: includes/class-testimonials-widget.php:1513
859
  msgid ""
860
  "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
861
  "testimonial</a>"
862
  msgstr ""
863
 
864
+ #: includes/class-testimonials-widget.php:1784
865
  msgid ""
866
  "If your Testimonials display has gone to funky town, please <a href=\"%s"
867
  "\">read the FAQ</a> about possible fixes."
868
  msgstr ""
869
 
870
+ #: includes/class-testimonials-widget.php:1803
871
  msgid "Failed version check"
872
  msgstr ""
873
 
874
+ #: includes/class-testimonials-widget.php:1834
875
  msgid "Shortcode"
876
  msgstr ""
877
 
878
+ #: includes/class-testimonials-widget.php:2272
879
+ #: includes/class-testimonials-widget.php:2345
880
  msgid "Used with: "
881
  msgstr ""
882
 
883
+ #: includes/class-testimonials-widget.php:2309
884
+ #: includes/class-testimonials-widget.php:2373
885
  msgid "Options: "
886
  msgstr ""
887
 
888
+ #: includes/class-testimonials-widget.php:2314
889
+ #: includes/class-testimonials-widget.php:2378
890
  msgid "Usage: "
891
  msgstr ""
892
 
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.5.3
8
- Stable tag: 3.3.1
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.5.3
8
+ Stable tag: 3.3.2
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.3.1
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.3.1' );
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.3.2
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.3.2' );
68
  }
69
 
70
  require_once TW_DIR_INC . 'requirements.php';