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

Code changes from version 3.3.3 to 3.3.4

.DS_Store ADDED
Binary file
CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
 
3
  ## master
4
 
 
 
 
 
5
  ## 3.3.3
6
  * Fix `Fatal error: Can't use function return value in write context`
7
 
2
 
3
  ## master
4
 
5
+ ## 3.3.4
6
+ * Change verbiage for schema notice
7
+ * Confirm WordPress 4.6 compatibility
8
+
9
  ## 3.3.3
10
  * Fix `Fatal error: Can't use function return value in write context`
11
 
includes/class-testimonials-widget.php CHANGED
@@ -394,12 +394,13 @@ class Axl_Testimonials_Widget extends Aihrus_Common {
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 = '';
400
  $notice_content .= '<div class="notice is-dismissible error twp-schema-notice"><p>';
401
  $notice_content .= $text;
402
- $notice_content .= self::$settings_link;
403
  $notice_content .= '.</p></div>';
404
 
405
  echo $notice_content;
394
  $notice_set = get_option( self::NOTICE_KEY );
395
 
396
  if ( empty( $notice_set ) ) {
397
+ $settings_link = get_admin_url() . 'edit.php?post_type=' . self::PT . '&page=' . Axl_Testimonials_Widget_Settings::ID;
398
+
399
+ $text = sprintf( __( 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>. We recommend you <a href="%s">disable the Review schema</a> in settings.', 'testimonials-widget' ), esc_url( $settings_link ) );
400
 
401
  $notice_content = '';
402
  $notice_content .= '<div class="notice is-dismissible error twp-schema-notice"><p>';
403
  $notice_content .= $text;
 
404
  $notice_content .= '.</p></div>';
405
 
406
  echo $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.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-"
7
  "widget\n"
8
- "POT-Creation-Date: 2016-07-07 05:02:00+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:625
121
- #: includes/class-testimonials-widget.php:673
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: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,32 +540,32 @@ msgid "None"
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,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: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,145 +748,145 @@ msgid ""
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
 
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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/testimonials-"
7
  "widget\n"
8
+ "POT-Creation-Date: 2016-10-11 07:21:01+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:626
121
+ #: includes/class-testimonials-widget.php:674
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:556
510
+ #: includes/class-testimonials-widget.php:587
511
+ #: includes/class-testimonials-widget.php:1438
512
  msgid "Author"
513
  msgstr ""
514
 
515
  #: includes/class-testimonials-widget-settings.php:517
516
+ #: includes/class-testimonials-widget.php:558
517
  msgid "Date"
518
  msgstr ""
519
 
540
  msgstr ""
541
 
542
  #: includes/class-testimonials-widget-settings.php:533
543
+ #: includes/class-testimonials-widget.php:592
544
+ #: includes/class-testimonials-widget.php:1444
545
  msgid "Job Title"
546
  msgstr ""
547
 
548
  #: includes/class-testimonials-widget-settings.php:534
549
+ #: includes/class-testimonials-widget.php:607
550
+ #: includes/class-testimonials-widget.php:1462
551
  msgid "Email"
552
  msgstr ""
553
 
554
  #: includes/class-testimonials-widget-settings.php:535
555
+ #: includes/class-testimonials-widget.php:597
556
+ #: includes/class-testimonials-widget.php:1450
557
  msgid "Location"
558
  msgstr ""
559
 
560
  #: includes/class-testimonials-widget-settings.php:536
561
+ #: includes/class-testimonials-widget.php:602
562
+ #: includes/class-testimonials-widget.php:1456
563
  msgid "Company"
564
  msgstr ""
565
 
566
  #: includes/class-testimonials-widget-settings.php:537
567
+ #: includes/class-testimonials-widget.php:612
568
+ #: includes/class-testimonials-widget.php:1468
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:563
730
+ #: includes/class-testimonials-widget.php:566
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:564
737
+ #: includes/class-testimonials-widget.php:567
738
  msgid "Tags"
739
  msgstr ""
740
 
748
  "\">read the FAQ</a> about possible CSS fixes."
749
  msgstr ""
750
 
751
+ #: includes/class-testimonials-widget.php:557
752
  msgid "Published by"
753
  msgstr ""
754
 
755
+ #: includes/class-testimonials-widget.php:572
756
  msgid "ID"
757
  msgstr ""
758
 
759
+ #: includes/class-testimonials-widget.php:577
760
  msgid "Image"
761
  msgstr ""
762
 
763
+ #: includes/class-testimonials-widget.php:582
764
  msgid "Shortcodes"
765
  msgstr ""
766
 
767
+ #: includes/class-testimonials-widget.php:623
768
  msgid "Add New"
769
  msgstr ""
770
 
771
+ #: includes/class-testimonials-widget.php:624
772
+ #: includes/class-testimonials-widget.php:627
773
  msgid "Add New Testimonial"
774
  msgstr ""
775
 
776
+ #: includes/class-testimonials-widget.php:625
777
  msgid "Edit Testimonial"
778
  msgstr ""
779
 
780
+ #: includes/class-testimonials-widget.php:628
781
+ #: includes/class-testimonials-widget.php:944
782
  msgid "No testimonials found"
783
  msgstr ""
784
 
785
+ #: includes/class-testimonials-widget.php:629
786
  msgid "No testimonials found in Trash"
787
  msgstr ""
788
 
789
+ #: includes/class-testimonials-widget.php:631
790
  msgid "Search Testimonials"
791
  msgstr ""
792
 
793
+ #: includes/class-testimonials-widget.php:632
794
+ #: includes/class-testimonials-widget.php:1529
795
+ #: includes/class-testimonials-widget.php:1890
796
  msgid "Testimonial"
797
  msgstr ""
798
 
799
+ #: includes/class-testimonials-widget.php:633
800
  msgid "View Testimonial"
801
  msgstr ""
802
 
803
+ #: includes/class-testimonials-widget.php:1441
804
  msgid "Use when the testimonial title is not the authors' name."
805
  msgstr ""
806
 
807
+ #: includes/class-testimonials-widget.php:1465
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:1480
814
  msgid "Testimonial Data"
815
  msgstr ""
816
 
817
+ #: includes/class-testimonials-widget.php:1504
818
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
819
  msgstr ""
820
 
821
+ #: includes/class-testimonials-widget.php:1505
822
  msgid "Custom field updated."
823
  msgstr ""
824
 
825
+ #: includes/class-testimonials-widget.php:1506
826
  msgid "Custom field deleted."
827
  msgstr ""
828
 
829
+ #: includes/class-testimonials-widget.php:1507
830
  msgid "Testimonial updated."
831
  msgstr ""
832
 
833
  #. translators: %s: date and time of the revision
834
+ #: includes/class-testimonials-widget.php:1509
835
  msgid "Testimonial restored to revision from %s"
836
  msgstr ""
837
 
838
+ #: includes/class-testimonials-widget.php:1510
839
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
840
  msgstr ""
841
 
842
+ #: includes/class-testimonials-widget.php:1511
843
  msgid "Testimonial saved."
844
  msgstr ""
845
 
846
+ #: includes/class-testimonials-widget.php:1512
847
  msgid ""
848
  "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
849
  "a>"
850
  msgstr ""
851
 
852
+ #: includes/class-testimonials-widget.php:1513
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:1514
859
  msgid ""
860
  "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
861
  "testimonial</a>"
862
  msgstr ""
863
 
864
+ #: includes/class-testimonials-widget.php:1785
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:1804
871
  msgid "Failed version check"
872
  msgstr ""
873
 
874
+ #: includes/class-testimonials-widget.php:1835
875
  msgid "Shortcode"
876
  msgstr ""
877
 
878
+ #: includes/class-testimonials-widget.php:2273
879
+ #: includes/class-testimonials-widget.php:2346
880
  msgid "Used with: "
881
  msgstr ""
882
 
883
+ #: includes/class-testimonials-widget.php:2310
884
+ #: includes/class-testimonials-widget.php:2374
885
  msgid "Options: "
886
  msgstr ""
887
 
888
+ #: includes/class-testimonials-widget.php:2315
889
+ #: includes/class-testimonials-widget.php:2379
890
  msgid "Usage: "
891
  msgstr ""
892
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: comprock,saurabhd,subharanjan
4
  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.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
4
  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.6
8
+ Stable tag: 3.3.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.3.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.3.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.3.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.3.4' );
68
  }
69
 
70
  require_once TW_DIR_INC . 'requirements.php';