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 | comprock |
Plugin | Testimonials Widget |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- CHANGELOG.md +3 -0
- includes/class-testimonials-widget.php +1 -2
- includes/libraries/aihrus-framework/CHANGELOG.md +2 -1
- includes/libraries/aihrus-framework/includes/class-aihrus-licensing.php +1 -1
- languages/testimonials-widget.pot +33 -33
- phpunit.xml +14 -0
- readme.txt +1 -1
- testimonials-widget.php +2 -2
CHANGELOG.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
|
3 |
## master
|
4 |
|
|
|
|
|
|
|
5 |
## 3.0.1
|
6 |
* Add Documentation section to readme
|
7 |
* FAQ Got `The plugin does not have a valid header` error?
|
2 |
|
3 |
## master
|
4 |
|
5 |
+
## 3.0.2
|
6 |
+
* RESOLVE Pager always showing
|
7 |
+
|
8 |
## 3.0.1
|
9 |
* Add Documentation section to readme
|
10 |
* FAQ Got `The plugin does not have a valid header` error?
|
includes/class-testimonials-widget.php
CHANGED
@@ -815,7 +815,6 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
815 |
$transition_mode = $atts['transition_mode'];
|
816 |
|
817 |
$auto = $refresh_interval ? 'true' : 'false';
|
818 |
-
$pager = ! $refresh_interval ? 'pager: true' : 'pager: false';
|
819 |
$pause = $refresh_interval * 1000;
|
820 |
$video = $enable_video ? "video: true,\nuseCSS: false" : 'video: false';
|
821 |
|
@@ -833,7 +832,7 @@ jQuery(document).ready(function() {
|
|
833 |
autoHover: true,
|
834 |
controls: false,
|
835 |
mode: '{$transition_mode}',
|
836 |
-
|
837 |
pause: {$pause},
|
838 |
{$video},
|
839 |
slideMargin: 2,
|
815 |
$transition_mode = $atts['transition_mode'];
|
816 |
|
817 |
$auto = $refresh_interval ? 'true' : 'false';
|
|
|
818 |
$pause = $refresh_interval * 1000;
|
819 |
$video = $enable_video ? "video: true,\nuseCSS: false" : 'video: false';
|
820 |
|
832 |
autoHover: true,
|
833 |
controls: false,
|
834 |
mode: '{$transition_mode}',
|
835 |
+
pager: false,
|
836 |
pause: {$pause},
|
837 |
{$video},
|
838 |
slideMargin: 2,
|
includes/libraries/aihrus-framework/CHANGELOG.md
CHANGED
@@ -3,8 +3,9 @@
|
|
3 |
## master
|
4 |
|
5 |
## 1.1.6
|
6 |
-
* RESOLVE michael-cannon/testimonials-widget#162 Error: This is not a valid feed template with WordPress SEO sitemap
|
7 |
* Denote included libraries
|
|
|
|
|
8 |
|
9 |
## 1.1.5
|
10 |
* Abstract do_validate_settings for easier reuse
|
3 |
## master
|
4 |
|
5 |
## 1.1.6
|
|
|
6 |
* Denote included libraries
|
7 |
+
* RESOLVE michael-cannon/testimonials-widget#162 Error: This is not a valid feed template with WordPress SEO sitemap
|
8 |
+
* Use https for Aihrus store
|
9 |
|
10 |
## 1.1.5
|
11 |
* Abstract do_validate_settings for easier reuse
|
includes/libraries/aihrus-framework/includes/class-aihrus-licensing.php
CHANGED
@@ -33,7 +33,7 @@ abstract class Aihrus_Licensing {
|
|
33 |
public static $settings_saved = false;
|
34 |
|
35 |
|
36 |
-
public function __construct( $slug, $item_name, $author = 'Michael Cannon', $store_url = '
|
37 |
$this->author = $author;
|
38 |
$this->item_name_encoded = urlencode( $item_name );
|
39 |
$this->item_name = $item_name;
|
33 |
public static $settings_saved = false;
|
34 |
|
35 |
|
36 |
+
public function __construct( $slug, $item_name, $author = 'Michael Cannon', $store_url = 'https://aihr.us' ) {
|
37 |
$this->author = $author;
|
38 |
$this->item_name_encoded = urlencode( $item_name );
|
39 |
$this->item_name = $item_name;
|
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.0.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
-
"POT-Creation-Date: 2014-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -487,7 +487,7 @@ msgstr ""
|
|
487 |
#: includes/class-testimonials-widget-settings.php:511
|
488 |
#: includes/class-testimonials-widget.php:503
|
489 |
#: includes/class-testimonials-widget.php:534
|
490 |
-
#: includes/class-testimonials-widget.php:
|
491 |
msgid "Author"
|
492 |
msgstr ""
|
493 |
|
@@ -518,31 +518,31 @@ msgstr ""
|
|
518 |
|
519 |
#: includes/class-testimonials-widget-settings.php:525
|
520 |
#: includes/class-testimonials-widget.php:539
|
521 |
-
#: includes/class-testimonials-widget.php:
|
522 |
msgid "Job Title"
|
523 |
msgstr ""
|
524 |
|
525 |
#: includes/class-testimonials-widget-settings.php:526
|
526 |
#: includes/class-testimonials-widget.php:554
|
527 |
-
#: includes/class-testimonials-widget.php:
|
528 |
msgid "Email"
|
529 |
msgstr ""
|
530 |
|
531 |
#: includes/class-testimonials-widget-settings.php:527
|
532 |
#: includes/class-testimonials-widget.php:544
|
533 |
-
#: includes/class-testimonials-widget.php:
|
534 |
msgid "Location"
|
535 |
msgstr ""
|
536 |
|
537 |
#: includes/class-testimonials-widget-settings.php:528
|
538 |
#: includes/class-testimonials-widget.php:549
|
539 |
-
#: includes/class-testimonials-widget.php:
|
540 |
msgid "Company"
|
541 |
msgstr ""
|
542 |
|
543 |
#: includes/class-testimonials-widget-settings.php:529
|
544 |
#: includes/class-testimonials-widget.php:559
|
545 |
-
#: includes/class-testimonials-widget.php:
|
546 |
msgid "URL"
|
547 |
msgstr ""
|
548 |
|
@@ -740,7 +740,7 @@ msgid "Edit Testimonial"
|
|
740 |
msgstr ""
|
741 |
|
742 |
#: includes/class-testimonials-widget.php:575
|
743 |
-
#: includes/class-testimonials-widget.php:
|
744 |
msgid "No testimonials found"
|
745 |
msgstr ""
|
746 |
|
@@ -753,8 +753,8 @@ msgid "Search Testimonials"
|
|
753 |
msgstr ""
|
754 |
|
755 |
#: includes/class-testimonials-widget.php:579
|
756 |
-
#: includes/class-testimonials-widget.php:
|
757 |
-
#: includes/class-testimonials-widget.php:
|
758 |
msgid "Testimonial"
|
759 |
msgstr ""
|
760 |
|
@@ -762,84 +762,84 @@ msgstr ""
|
|
762 |
msgid "View Testimonial"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: includes/class-testimonials-widget.php:
|
766 |
msgid "Use when the testimonial title is not the authors' name."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/class-testimonials-widget.php:
|
770 |
msgid "If an email is provided, but not an image, a Gravatar icon will be attempted to be loaded."
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/class-testimonials-widget.php:
|
774 |
msgid "Testimonial Data"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/class-testimonials-widget.php:
|
778 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/class-testimonials-widget.php:
|
782 |
msgid "Custom field updated."
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: includes/class-testimonials-widget.php:
|
786 |
msgid "Custom field deleted."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/class-testimonials-widget.php:
|
790 |
msgid "Testimonial updated."
|
791 |
msgstr ""
|
792 |
|
793 |
#. translators: %s: date and time of the revision
|
794 |
|
795 |
-
#: includes/class-testimonials-widget.php:
|
796 |
msgid "Testimonial restored to revision from %s"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/class-testimonials-widget.php:
|
800 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/class-testimonials-widget.php:
|
804 |
msgid "Testimonial saved."
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/class-testimonials-widget.php:
|
808 |
msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: includes/class-testimonials-widget.php:
|
812 |
msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: includes/class-testimonials-widget.php:
|
816 |
msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: includes/class-testimonials-widget.php:
|
820 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: includes/class-testimonials-widget.php:
|
824 |
msgid "Failed version check"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: includes/class-testimonials-widget.php:
|
828 |
msgid "Shortcode"
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: includes/class-testimonials-widget.php:
|
832 |
-
#: includes/class-testimonials-widget.php:
|
833 |
msgid "Used with: "
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: includes/class-testimonials-widget.php:
|
837 |
-
#: includes/class-testimonials-widget.php:
|
838 |
msgid "Options: "
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: includes/class-testimonials-widget.php:
|
842 |
-
#: includes/class-testimonials-widget.php:
|
843 |
msgid "Usage: "
|
844 |
msgstr ""
|
845 |
|
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.0.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
+
"POT-Creation-Date: 2014-12-15 15:03:09+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
487 |
#: includes/class-testimonials-widget-settings.php:511
|
488 |
#: includes/class-testimonials-widget.php:503
|
489 |
#: includes/class-testimonials-widget.php:534
|
490 |
+
#: includes/class-testimonials-widget.php:1364
|
491 |
msgid "Author"
|
492 |
msgstr ""
|
493 |
|
518 |
|
519 |
#: includes/class-testimonials-widget-settings.php:525
|
520 |
#: includes/class-testimonials-widget.php:539
|
521 |
+
#: includes/class-testimonials-widget.php:1370
|
522 |
msgid "Job Title"
|
523 |
msgstr ""
|
524 |
|
525 |
#: includes/class-testimonials-widget-settings.php:526
|
526 |
#: includes/class-testimonials-widget.php:554
|
527 |
+
#: includes/class-testimonials-widget.php:1388
|
528 |
msgid "Email"
|
529 |
msgstr ""
|
530 |
|
531 |
#: includes/class-testimonials-widget-settings.php:527
|
532 |
#: includes/class-testimonials-widget.php:544
|
533 |
+
#: includes/class-testimonials-widget.php:1376
|
534 |
msgid "Location"
|
535 |
msgstr ""
|
536 |
|
537 |
#: includes/class-testimonials-widget-settings.php:528
|
538 |
#: includes/class-testimonials-widget.php:549
|
539 |
+
#: includes/class-testimonials-widget.php:1382
|
540 |
msgid "Company"
|
541 |
msgstr ""
|
542 |
|
543 |
#: includes/class-testimonials-widget-settings.php:529
|
544 |
#: includes/class-testimonials-widget.php:559
|
545 |
+
#: includes/class-testimonials-widget.php:1394
|
546 |
msgid "URL"
|
547 |
msgstr ""
|
548 |
|
740 |
msgstr ""
|
741 |
|
742 |
#: includes/class-testimonials-widget.php:575
|
743 |
+
#: includes/class-testimonials-widget.php:874
|
744 |
msgid "No testimonials found"
|
745 |
msgstr ""
|
746 |
|
753 |
msgstr ""
|
754 |
|
755 |
#: includes/class-testimonials-widget.php:579
|
756 |
+
#: includes/class-testimonials-widget.php:1455
|
757 |
+
#: includes/class-testimonials-widget.php:1818
|
758 |
msgid "Testimonial"
|
759 |
msgstr ""
|
760 |
|
762 |
msgid "View Testimonial"
|
763 |
msgstr ""
|
764 |
|
765 |
+
#: includes/class-testimonials-widget.php:1367
|
766 |
msgid "Use when the testimonial title is not the authors' name."
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: includes/class-testimonials-widget.php:1391
|
770 |
msgid "If an email is provided, but not an image, a Gravatar icon will be attempted to be loaded."
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: includes/class-testimonials-widget.php:1406
|
774 |
msgid "Testimonial Data"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: includes/class-testimonials-widget.php:1430
|
778 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/class-testimonials-widget.php:1431
|
782 |
msgid "Custom field updated."
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: includes/class-testimonials-widget.php:1432
|
786 |
msgid "Custom field deleted."
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/class-testimonials-widget.php:1433
|
790 |
msgid "Testimonial updated."
|
791 |
msgstr ""
|
792 |
|
793 |
#. translators: %s: date and time of the revision
|
794 |
|
795 |
+
#: includes/class-testimonials-widget.php:1435
|
796 |
msgid "Testimonial restored to revision from %s"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: includes/class-testimonials-widget.php:1436
|
800 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: includes/class-testimonials-widget.php:1437
|
804 |
msgid "Testimonial saved."
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: includes/class-testimonials-widget.php:1438
|
808 |
msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: includes/class-testimonials-widget.php:1439
|
812 |
msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: includes/class-testimonials-widget.php:1440
|
816 |
msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: includes/class-testimonials-widget.php:1713
|
820 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: includes/class-testimonials-widget.php:1732
|
824 |
msgid "Failed version check"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: includes/class-testimonials-widget.php:1763
|
828 |
msgid "Shortcode"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: includes/class-testimonials-widget.php:2179
|
832 |
+
#: includes/class-testimonials-widget.php:2252
|
833 |
msgid "Used with: "
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/class-testimonials-widget.php:2216
|
837 |
+
#: includes/class-testimonials-widget.php:2280
|
838 |
msgid "Options: "
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: includes/class-testimonials-widget.php:2221
|
842 |
+
#: includes/class-testimonials-widget.php:2285
|
843 |
msgid "Usage: "
|
844 |
msgstr ""
|
845 |
|
phpunit.xml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<phpunit
|
2 |
+
bootstrap="tests/tests/bootstrap.php"
|
3 |
+
backupGlobals="false"
|
4 |
+
colors="true"
|
5 |
+
convertErrorsToExceptions="true"
|
6 |
+
convertNoticesToExceptions="true"
|
7 |
+
convertWarningsToExceptions="true"
|
8 |
+
>
|
9 |
+
<testsuites>
|
10 |
+
<testsuite name="tests">
|
11 |
+
<directory prefix="test-" suffix=".php">./tests/tests/</directory>
|
12 |
+
</testsuite>
|
13 |
+
</testsuites>
|
14 |
+
</phpunit>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://aihr.us/about-aihrus/donate/
|
|
5 |
Tags: aihrus, client, customer, portfolio, quote, quotes, random, recommendation, reference, review, reviews, slider, testimonial, testimonials, wpml
|
6 |
Requires at least: 3.6
|
7 |
Tested up to: 4.1.0
|
8 |
-
Stable tag: 3.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
5 |
Tags: aihrus, client, customer, portfolio, quote, quotes, random, recommendation, reference, review, reviews, slider, testimonial, testimonials, wpml
|
6 |
Requires at least: 3.6
|
7 |
Tested up to: 4.1.0
|
8 |
+
Stable tag: 3.0.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.0.
|
8 |
* Author: Michael Cannon
|
9 |
* Author URI: http://aihr.us/resume/
|
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.0.
|
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.0.2
|
8 |
* Author: Michael Cannon
|
9 |
* Author URI: http://aihr.us/resume/
|
10 |
* License: GPLv2 or later
|
64 |
}
|
65 |
|
66 |
if ( ! defined( 'TW_VERSION' ) ) {
|
67 |
+
define( 'TW_VERSION', '3.0.2' );
|
68 |
}
|
69 |
|
70 |
require_once TW_DIR_INC . 'requirements.php';
|