Version Description
- Tweak: Updated Freemius SDK (2.5.3).
- Fix: The YouTube, Vimeo, Dailymotion & Facebook videos not working when configured to use native controls.
- Fix: Video playback issues on webOS TV.
- Fix: [+] few minor bug fixes.
Download this release
Release Info
Developer | plugins360 |
Plugin | All-in-One Video Gallery |
Version | 2.6.4 |
Comparing to | |
See all releases |
Code changes from version 2.6.3 to 2.6.4
- README.txt +10 -3
- all-in-one-video-gallery.php +2 -2
- freemius/assets/css/admin/add-ons.css +1 -1
- freemius/includes/class-freemius.php +6 -6
- freemius/includes/class-fs-plugin-updater.php +32 -11
- freemius/includes/entities/class-fs-plugin-tag.php +4 -0
- freemius/includes/fs-plugin-info-dialog.php +54 -3
- freemius/languages/freemius-cs_CZ.mo +0 -0
- freemius/languages/freemius-da_DK.mo +0 -0
- freemius/languages/freemius-de_DE.mo +0 -0
- freemius/languages/freemius-en.mo +0 -0
- freemius/languages/freemius-es_ES.mo +0 -0
- freemius/languages/freemius-fr_FR.mo +0 -0
- freemius/languages/freemius-he_IL.mo +0 -0
- freemius/languages/freemius-hu_HU.mo +0 -0
- freemius/languages/freemius-it_IT.mo +0 -0
- freemius/languages/freemius-ja.mo +0 -0
- freemius/languages/freemius-nl_NL.mo +0 -0
- freemius/languages/freemius-ru_RU.mo +0 -0
- freemius/languages/freemius-ta.mo +0 -0
- freemius/languages/freemius-zh_CN.mo +0 -0
- freemius/languages/freemius.pot +116 -104
- freemius/start.php +1 -1
- freemius/templates/connect.php +2 -2
- freemius/templates/plugin-info/description.php +1 -1
- public/assets/js/player.js +45 -24
- public/templates/player-html5.php +46 -25
- public/templates/player-iframe.php +1 -1
README.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, live stream
|
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 6.1
|
8 |
Requires PHP: 5.6.20
|
9 |
-
Stable tag: 2.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -141,6 +141,13 @@ Also, the videos from third-party services like "YouTube", "Vimeo", "Dailymotion
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
= 2.6.3 =
|
145 |
|
146 |
* New: Support for featured images.
|
@@ -326,6 +333,6 @@ For the changelog of earlier versions, please refer to the [changelog on plugins
|
|
326 |
|
327 |
== Upgrade Notice ==
|
328 |
|
329 |
-
= 2.6.
|
330 |
|
331 |
-
Introduces several bug fixes
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 6.1
|
8 |
Requires PHP: 5.6.20
|
9 |
+
Stable tag: 2.6.4
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 2.6.4 =
|
145 |
+
|
146 |
+
* Tweak: Updated Freemius SDK (2.5.3).
|
147 |
+
* Fix: The YouTube, Vimeo, Dailymotion & Facebook videos not working when configured to use native controls.
|
148 |
+
* Fix: Video playback issues on webOS TV.
|
149 |
+
* Fix: [+] few minor bug fixes.
|
150 |
+
|
151 |
= 2.6.3 =
|
152 |
|
153 |
* New: Support for featured images.
|
333 |
|
334 |
== Upgrade Notice ==
|
335 |
|
336 |
+
= 2.6.4 =
|
337 |
|
338 |
+
Introduces several bug fixes & enhancements. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers)
|
all-in-one-video-gallery.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
-
* Version: 2.6.
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
|
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
-
define( 'AIOVG_PLUGIN_VERSION', '2.6.
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
+
* Version: 2.6.4
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
+
define( 'AIOVG_PLUGIN_VERSION', '2.6.4' );
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
freemius/assets/css/admin/add-ons.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.fs-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,.3);box-shadow:0 2px 1px -1px rgba(0,0,0,.3)}#fs_addons .fs-cards-list{list-style:none}#fs_addons .fs-cards-list .fs-card{float:left;height:152px;width:310px;padding:0;margin:0 0 30px 30px;font-size:14px;list-style:none;border:1px solid #ddd;cursor:pointer;position:relative}#fs_addons .fs-cards-list .fs-card .fs-overlay{position:absolute;left:0;right:0;bottom:0;top:0;z-index:9}#fs_addons .fs-cards-list .fs-card .fs-inner{background-color:#fff;overflow:hidden;height:100%;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner>ul{-moz-transition:all,.15s;-o-transition:all,.15s;-ms-transition:all,.15s;-webkit-transition:all,.15s;transition:all,.15s;left:0;right:0;top:0;position:absolute}#fs_addons .fs-cards-list .fs-card .fs-inner>ul>li{list-style:none;line-height:18px;padding:0 15px;width:100%;display:block;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner{padding:0;margin:0;line-height:0;display:block;height:100px;background-repeat:repeat-x;background-size:100% 100%;-moz-transition:all,.15s;-o-transition:all,.15s;-ms-transition:all,.15s;-webkit-transition:all,.15s;transition:all,.15s}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner .fs-badge.fs-installed-addon-badge{font-size:1.02em;line-height:1.3em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-title{margin:10px 0 0 0;height:18px;overflow:hidden;color:#000;white-space:nowrap;text-overflow:ellipsis;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-offer{font-size:.9em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-description{background-color:#f9f9f9;padding:10px 15px 100px 15px;border-top:1px solid #eee;margin:0 0 10px 0;color:#777}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-tag{position:absolute;top:10px;right:0px;background:#adff2f;display:block;padding:2px 10px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,.3);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.3);box-shadow:1px 1px 1px rgba(0,0,0,.3);text-transform:uppercase;font-size:.9em;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button,#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button-group{position:absolute;top:112px;right:10px}@media screen and (min-width: 960px){#fs_addons .fs-cards-list .fs-card:hover .fs-overlay{border:2px solid #29abe1;margin-left:-1px;margin-top:-1px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner ul{top:-100px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-title,#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-offer{color:#29abe1}}#TB_window,#TB_window iframe{width:821px !important}#plugin-information .fyi{width:266px !important}#plugin-information #section-holder{margin-right:299px}#plugin-information #section-description h2,#plugin-information #section-description h3,#plugin-information #section-description p,#plugin-information #section-description b,#plugin-information #section-description i,#plugin-information #section-description blockquote,#plugin-information #section-description li,#plugin-information #section-description ul,#plugin-information #section-description ol{clear:none}#plugin-information #section-description iframe{max-width:100%}#plugin-information #section-description .fs-selling-points{padding-bottom:10px;border-bottom:1px solid #ddd}#plugin-information #section-description .fs-selling-points ul{margin:0}#plugin-information #section-description .fs-selling-points ul li{padding:0;list-style:none outside none}#plugin-information #section-description .fs-selling-points ul li i.dashicons{color:#71ae00;font-size:3em;vertical-align:middle;line-height:30px;float:left;margin:0 0 0 -15px}#plugin-information #section-description .fs-selling-points ul li h3{margin:1em 30px !important}#plugin-information #section-description .fs-screenshots:after{content:"";display:table;clear:both}#plugin-information #section-description .fs-screenshots ul{list-style:none;margin:0}#plugin-information #section-description .fs-screenshots ul li{width:225px;height:225px;float:left;margin-bottom:20px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}#plugin-information #section-description .fs-screenshots ul li a{display:block;width:100%;height:100%;border:1px solid;-moz-box-shadow:1px 1px 1px rgba(0,0,0,.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.2);box-shadow:1px 1px 1px rgba(0,0,0,.2);background-size:cover}#plugin-information #section-description .fs-screenshots ul li.odd{margin-right:20px}#plugin-information .plugin-information-pricing{margin:-16px;border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan h3{margin-top:0;padding:20px;font-size:16px}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper{border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab{cursor:pointer;position:relative;padding:0 10px;font-size:.9em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab label{text-transform:uppercase;color:green;background:#adff2f;position:absolute;left:-1px;right:-1px;bottom:100%;border:1px solid #006400;padding:2px;text-align:center;font-size:.9em;line-height:1em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab.nav-tab-active{cursor:default;background:#fffeec;border-bottom-color:#fffeec}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle h3{background:#fffeec;margin:0;padding-bottom:0;color:#0073aa}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .nav-tab-wrapper,#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .fs-billing-frequency{display:none}#plugin-information .plugin-information-pricing .fs-plan .fs-pricing-body{background:#fffeec;padding:20px}#plugin-information .plugin-information-pricing .fs-plan .button{width:100%;text-align:center;font-weight:bold;text-transform:uppercase;font-size:1.1em}#plugin-information .plugin-information-pricing .fs-plan label{white-space:nowrap}#plugin-information .plugin-information-pricing .fs-plan var{font-style:normal}#plugin-information .plugin-information-pricing .fs-plan .fs-billing-frequency,#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-align:center;display:block;font-weight:bold;margin-bottom:10px;text-transform:uppercase;background:#f3f3f3;padding:2px;border:1px solid #ccc}#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-transform:none;color:green;background:#adff2f}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms{font-size:.9em}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms i{float:left;margin:0 0 0 -15px}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms li{margin:10px 0 0 0}#plugin-information #section-features .fs-features{margin:-20px -26px}#plugin-information #section-features table{width:100%;border-spacing:0;border-collapse:separate}#plugin-information #section-features table thead th{padding:10px 0}#plugin-information #section-features table thead .fs-price{color:#71ae00;font-weight:normal;display:block;text-align:center}#plugin-information #section-features table tbody td{border-top:1px solid #ccc;padding:10px 0;text-align:center;width:100px;color:#71ae00}#plugin-information #section-features table tbody td:first-child{text-align:left;width:auto;color:inherit;padding-left:26px}#plugin-information #section-features table tbody tr.fs-odd td{background:#fefefe}#plugin-information #section-features .dashicons-yes{width:30px;height:30px;font-size:30px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button,#plugin-information .fs-dropdown .button-group .button{position:relative;width:auto;top:0;right:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button:focus,#plugin-information .fs-dropdown .button-group .button:focus{z-index:10}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .fs-dropdown-arrow,#plugin-information .fs-dropdown .button-group .fs-dropdown-arrow{border-top:6px solid #fff;border-right:4px solid transparent;border-left:4px solid transparent;top:12px;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button){border-bottom-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button{border-bottom-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button){border-top-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active.up .fs-dropdown-arrow-button{border-top-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list,#plugin-information .fs-dropdown .fs-dropdown-list{position:absolute;right:-1px;top:100%;margin-left:auto;padding:3px 0;border:1px solid #bfbfbf;background-color:#fff;z-index:1;width:230px;text-align:left;-moz-box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12);-webkit-box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12);box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12)}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li,#plugin-information .fs-dropdown .fs-dropdown-list li{margin:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li a,#plugin-information .fs-dropdown .fs-dropdown-list li a{display:block;padding:5px 10px;text-decoration:none;text-shadow:none}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover,#plugin-information .fs-dropdown .fs-dropdown-list li:hover{background-color:#0074a3;color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover a,#plugin-information .fs-dropdown .fs-dropdown-list li:hover a{color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown:not(.up) .fs-dropdown-list,#plugin-information .fs-dropdown:not(.up) .fs-dropdown-list{-moz-border-radius:3px 0 3px 3px;-webkit-border-radius:3px 0 3px 3px;border-radius:3px 0 3px 3px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.up .fs-dropdown-list,#plugin-information .fs-dropdown.up .fs-dropdown-list{-moz-border-radius:3px 3px 0 3px;-webkit-border-radius:3px 3px 0 3px;border-radius:3px 3px 0 3px}#plugin-information .fs-dropdown .button-group{width:100%}#plugin-information .fs-dropdown .button-group .button{float:none;font-size:14px;font-weight:normal;text-transform:none}#plugin-information .fs-dropdown .fs-dropdown-list{margin-top:1px}#plugin-information .fs-dropdown.up .fs-dropdown-list{top:auto;bottom:100%;margin-bottom:2px}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group{text-align:center;display:table}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button{display:table-cell}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button:not(.fs-dropdown-arrow-button){left:1px;width:100%}#plugin-information-footer>.button,#plugin-information-footer .fs-dropdown{position:relative;top:3px}#plugin-information-footer>.button.left,#plugin-information-footer .fs-dropdown.left{float:left}#plugin-information-footer>.right,#plugin-information-footer .fs-dropdown{float:right}@media screen and (max-width: 961px){#fs_addons .fs-cards-list .fs-card{height:265px}}
|
1 |
+
.fs-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,.3);box-shadow:0 2px 1px -1px rgba(0,0,0,.3)}#fs_addons .fs-cards-list{list-style:none}#fs_addons .fs-cards-list .fs-card{float:left;height:152px;width:310px;padding:0;margin:0 0 30px 30px;font-size:14px;list-style:none;border:1px solid #ddd;cursor:pointer;position:relative}#fs_addons .fs-cards-list .fs-card .fs-overlay{position:absolute;left:0;right:0;bottom:0;top:0;z-index:9}#fs_addons .fs-cards-list .fs-card .fs-inner{background-color:#fff;overflow:hidden;height:100%;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner>ul{-moz-transition:all,.15s;-o-transition:all,.15s;-ms-transition:all,.15s;-webkit-transition:all,.15s;transition:all,.15s;left:0;right:0;top:0;position:absolute}#fs_addons .fs-cards-list .fs-card .fs-inner>ul>li{list-style:none;line-height:18px;padding:0 15px;width:100%;display:block;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner{padding:0;margin:0;line-height:0;display:block;height:100px;background-repeat:repeat-x;background-size:100% 100%;-moz-transition:all,.15s;-o-transition:all,.15s;-ms-transition:all,.15s;-webkit-transition:all,.15s;transition:all,.15s}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner .fs-badge.fs-installed-addon-badge{font-size:1.02em;line-height:1.3em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-title{margin:10px 0 0 0;height:18px;overflow:hidden;color:#000;white-space:nowrap;text-overflow:ellipsis;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-offer{font-size:.9em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-description{background-color:#f9f9f9;padding:10px 15px 100px 15px;border-top:1px solid #eee;margin:0 0 10px 0;color:#777}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-tag{position:absolute;top:10px;right:0px;background:#adff2f;display:block;padding:2px 10px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,.3);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.3);box-shadow:1px 1px 1px rgba(0,0,0,.3);text-transform:uppercase;font-size:.9em;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button,#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button-group{position:absolute;top:112px;right:10px}@media screen and (min-width: 960px){#fs_addons .fs-cards-list .fs-card:hover .fs-overlay{border:2px solid #29abe1;margin-left:-1px;margin-top:-1px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner ul{top:-100px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-title,#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-offer{color:#29abe1}}#TB_window,#TB_window iframe{width:821px !important}#plugin-information .fyi{width:266px !important}#plugin-information #section-holder{margin-right:299px;clear:none}#plugin-information #section-description h2,#plugin-information #section-description h3,#plugin-information #section-description p,#plugin-information #section-description b,#plugin-information #section-description i,#plugin-information #section-description blockquote,#plugin-information #section-description li,#plugin-information #section-description ul,#plugin-information #section-description ol{clear:none}#plugin-information #section-description iframe{max-width:100%}#plugin-information #section-description .fs-selling-points{padding-bottom:10px;border-bottom:1px solid #ddd}#plugin-information #section-description .fs-selling-points ul{margin:0}#plugin-information #section-description .fs-selling-points ul li{padding:0;list-style:none outside none}#plugin-information #section-description .fs-selling-points ul li i.dashicons{color:#71ae00;font-size:3em;vertical-align:middle;line-height:30px;float:left;margin:0 0 0 -15px}#plugin-information #section-description .fs-selling-points ul li h3{margin:1em 30px !important}#plugin-information #section-description .fs-screenshots:after{content:"";display:table;clear:both}#plugin-information #section-description .fs-screenshots ul{list-style:none;margin:0}#plugin-information #section-description .fs-screenshots ul li{width:225px;height:225px;float:left;margin-bottom:20px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}#plugin-information #section-description .fs-screenshots ul li a{display:block;width:100%;height:100%;border:1px solid;-moz-box-shadow:1px 1px 1px rgba(0,0,0,.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.2);box-shadow:1px 1px 1px rgba(0,0,0,.2);background-size:cover}#plugin-information #section-description .fs-screenshots ul li.odd{margin-right:20px}#plugin-information .plugin-information-pricing{margin:-16px;border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan h3{margin-top:0;padding:20px;font-size:16px}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper{border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab{cursor:pointer;position:relative;padding:0 10px;font-size:.9em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab label{text-transform:uppercase;color:green;background:#adff2f;position:absolute;left:-1px;right:-1px;bottom:100%;border:1px solid #006400;padding:2px;text-align:center;font-size:.9em;line-height:1em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab.nav-tab-active{cursor:default;background:#fffeec;border-bottom-color:#fffeec}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle h3{background:#fffeec;margin:0;padding-bottom:0;color:#0073aa}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .nav-tab-wrapper,#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .fs-billing-frequency{display:none}#plugin-information .plugin-information-pricing .fs-plan .fs-pricing-body{background:#fffeec;padding:20px}#plugin-information .plugin-information-pricing .fs-plan .button{width:100%;text-align:center;font-weight:bold;text-transform:uppercase;font-size:1.1em}#plugin-information .plugin-information-pricing .fs-plan label{white-space:nowrap}#plugin-information .plugin-information-pricing .fs-plan var{font-style:normal}#plugin-information .plugin-information-pricing .fs-plan .fs-billing-frequency,#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-align:center;display:block;font-weight:bold;margin-bottom:10px;text-transform:uppercase;background:#f3f3f3;padding:2px;border:1px solid #ccc}#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-transform:none;color:green;background:#adff2f}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms{font-size:.9em}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms i{float:left;margin:0 0 0 -15px}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms li{margin:10px 0 0 0}#plugin-information #section-features .fs-features{margin:-20px -26px}#plugin-information #section-features table{width:100%;border-spacing:0;border-collapse:separate}#plugin-information #section-features table thead th{padding:10px 0}#plugin-information #section-features table thead .fs-price{color:#71ae00;font-weight:normal;display:block;text-align:center}#plugin-information #section-features table tbody td{border-top:1px solid #ccc;padding:10px 0;text-align:center;width:100px;color:#71ae00}#plugin-information #section-features table tbody td:first-child{text-align:left;width:auto;color:inherit;padding-left:26px}#plugin-information #section-features table tbody tr.fs-odd td{background:#fefefe}#plugin-information #section-features .dashicons-yes{width:30px;height:30px;font-size:30px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button,#plugin-information .fs-dropdown .button-group .button{position:relative;width:auto;top:0;right:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button:focus,#plugin-information .fs-dropdown .button-group .button:focus{z-index:10}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .fs-dropdown-arrow,#plugin-information .fs-dropdown .button-group .fs-dropdown-arrow{border-top:6px solid #fff;border-right:4px solid transparent;border-left:4px solid transparent;top:12px;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button){border-bottom-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button{border-bottom-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button){border-top-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active.up .fs-dropdown-arrow-button{border-top-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list,#plugin-information .fs-dropdown .fs-dropdown-list{position:absolute;right:-1px;top:100%;margin-left:auto;padding:3px 0;border:1px solid #bfbfbf;background-color:#fff;z-index:1;width:230px;text-align:left;-moz-box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12);-webkit-box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12);box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12)}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li,#plugin-information .fs-dropdown .fs-dropdown-list li{margin:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li a,#plugin-information .fs-dropdown .fs-dropdown-list li a{display:block;padding:5px 10px;text-decoration:none;text-shadow:none}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover,#plugin-information .fs-dropdown .fs-dropdown-list li:hover{background-color:#0074a3;color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover a,#plugin-information .fs-dropdown .fs-dropdown-list li:hover a{color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown:not(.up) .fs-dropdown-list,#plugin-information .fs-dropdown:not(.up) .fs-dropdown-list{-moz-border-radius:3px 0 3px 3px;-webkit-border-radius:3px 0 3px 3px;border-radius:3px 0 3px 3px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.up .fs-dropdown-list,#plugin-information .fs-dropdown.up .fs-dropdown-list{-moz-border-radius:3px 3px 0 3px;-webkit-border-radius:3px 3px 0 3px;border-radius:3px 3px 0 3px}#plugin-information .fs-dropdown .button-group{width:100%}#plugin-information .fs-dropdown .button-group .button{float:none;font-size:14px;font-weight:normal;text-transform:none}#plugin-information .fs-dropdown .fs-dropdown-list{margin-top:1px}#plugin-information .fs-dropdown.up .fs-dropdown-list{top:auto;bottom:100%;margin-bottom:2px}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group{text-align:center;display:table}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button{display:table-cell}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button:not(.fs-dropdown-arrow-button){left:1px;width:100%}#plugin-information-footer>.button,#plugin-information-footer .fs-dropdown{position:relative;top:3px}#plugin-information-footer>.button.left,#plugin-information-footer .fs-dropdown.left{float:left}#plugin-information-footer>.right,#plugin-information-footer .fs-dropdown{float:right}@media screen and (max-width: 961px){#fs_addons .fs-cards-list .fs-card{height:265px}}
|
freemius/includes/class-freemius.php
CHANGED
@@ -3648,7 +3648,7 @@
|
|
3648 |
} else {
|
3649 |
// Add hidden debug page.
|
3650 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
3651 |
-
|
3652 |
$title,
|
3653 |
$title,
|
3654 |
'manage_options',
|
@@ -7315,12 +7315,12 @@
|
|
7315 |
|
7316 |
$this->_admin_notices->add_sticky(
|
7317 |
sprintf(
|
7318 |
-
$this->get_text_inline( 'You should receive
|
7319 |
'<b>' . $this->get_plugin_name() . '</b>',
|
7320 |
'<b>' . $email . '</b>',
|
7321 |
( $is_pending_trial ?
|
7322 |
$this->get_text_inline( 'start the trial', 'start-the-trial' ) :
|
7323 |
-
$this->get_text_inline( 'complete the
|
7324 |
),
|
7325 |
'activation_pending',
|
7326 |
'Thanks!'
|
@@ -18975,7 +18975,7 @@
|
|
18975 |
if ( ! $this->has_settings_menu() ) {
|
18976 |
// Add the opt-in page without a menu item.
|
18977 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
18978 |
-
|
18979 |
$this->get_plugin_name(),
|
18980 |
$this->get_plugin_name(),
|
18981 |
'manage_options',
|
@@ -19407,7 +19407,7 @@
|
|
19407 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
19408 |
$item['show_submenu'] ?
|
19409 |
$top_level_menu_slug :
|
19410 |
-
|
19411 |
$item['page_title'],
|
19412 |
$menu_item,
|
19413 |
$capability,
|
@@ -19422,7 +19422,7 @@
|
|
19422 |
FS_Admin_Menu_Manager::add_subpage(
|
19423 |
$item['show_submenu'] ?
|
19424 |
$top_level_menu_slug :
|
19425 |
-
|
19426 |
$item['page_title'],
|
19427 |
$menu_item,
|
19428 |
$capability,
|
3648 |
} else {
|
3649 |
// Add hidden debug page.
|
3650 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
3651 |
+
'',
|
3652 |
$title,
|
3653 |
$title,
|
3654 |
'manage_options',
|
7315 |
|
7316 |
$this->_admin_notices->add_sticky(
|
7317 |
sprintf(
|
7318 |
+
$this->get_text_inline( 'You should receive a confirmation email for %s to your mailbox at %s. Please make sure you click the button in that email to %s.', 'pending-activation-message' ),
|
7319 |
'<b>' . $this->get_plugin_name() . '</b>',
|
7320 |
'<b>' . $email . '</b>',
|
7321 |
( $is_pending_trial ?
|
7322 |
$this->get_text_inline( 'start the trial', 'start-the-trial' ) :
|
7323 |
+
$this->get_text_inline( 'complete the opt-in', 'complete-the-opt-in' ) )
|
7324 |
),
|
7325 |
'activation_pending',
|
7326 |
'Thanks!'
|
18975 |
if ( ! $this->has_settings_menu() ) {
|
18976 |
// Add the opt-in page without a menu item.
|
18977 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
18978 |
+
'',
|
18979 |
$this->get_plugin_name(),
|
18980 |
$this->get_plugin_name(),
|
18981 |
'manage_options',
|
19407 |
$hook = FS_Admin_Menu_Manager::add_subpage(
|
19408 |
$item['show_submenu'] ?
|
19409 |
$top_level_menu_slug :
|
19410 |
+
'',
|
19411 |
$item['page_title'],
|
19412 |
$menu_item,
|
19413 |
$capability,
|
19422 |
FS_Admin_Menu_Manager::add_subpage(
|
19423 |
$item['show_submenu'] ?
|
19424 |
$top_level_menu_slug :
|
19425 |
+
'',
|
19426 |
$item['page_title'],
|
19427 |
$menu_item,
|
19428 |
$capability,
|
freemius/includes/class-fs-plugin-updater.php
CHANGED
@@ -417,7 +417,7 @@
|
|
417 |
|
418 |
$themes_update = get_site_transient( 'update_themes' );
|
419 |
if ( ! isset( $themes_update->response[ $theme_basename ] ) ||
|
420 |
-
|
421 |
) {
|
422 |
return $prepared_themes;
|
423 |
}
|
@@ -636,7 +636,7 @@
|
|
636 |
foreach ( $this->_translation_updates as $translation_update ) {
|
637 |
$lang = $translation_update['language'];
|
638 |
if ( ! isset( $current_plugin_translation_updates_map[ $lang ] ) ||
|
639 |
-
|
640 |
) {
|
641 |
$current_plugin_translation_updates_map[ $lang ] = $translation_update;
|
642 |
}
|
@@ -660,13 +660,14 @@
|
|
660 |
* @return object
|
661 |
*/
|
662 |
function get_update_details( FS_Plugin_Tag $new_version ) {
|
663 |
-
$update
|
664 |
-
$update->slug
|
665 |
-
$update->new_version
|
666 |
-
$update->url
|
667 |
-
$update->package
|
668 |
-
$update->tested
|
669 |
-
$update->requires
|
|
|
670 |
|
671 |
$icon = $this->_fs->get_local_icon_url();
|
672 |
|
@@ -808,9 +809,9 @@
|
|
808 |
$basename = $this->_fs->get_plugin_basename();
|
809 |
|
810 |
if ( ! is_object( $transient_data ) ||
|
811 |
-
|
812 |
! is_array( $transient_data->response ) ||
|
813 |
-
|
814 |
) {
|
815 |
return;
|
816 |
}
|
@@ -1095,6 +1096,7 @@ if ( !isset($info->error) ) {
|
|
1095 |
if ( ! $plugin_in_repo ) {
|
1096 |
$data->last_updated = ! is_null( $new_version->updated ) ? $new_version->updated : $new_version->created;
|
1097 |
$data->requires = $new_version->requires_platform_version;
|
|
|
1098 |
$data->tested = $new_version->tested_up_to_version;
|
1099 |
}
|
1100 |
|
@@ -1148,9 +1150,28 @@ if ( !isset($info->error) ) {
|
|
1148 |
}
|
1149 |
}
|
1150 |
|
|
|
|
|
|
|
|
|
1151 |
return $data;
|
1152 |
}
|
1153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1154 |
/**
|
1155 |
* @author Vova Feldman (@svovaf)
|
1156 |
* @since 1.2.1.7
|
417 |
|
418 |
$themes_update = get_site_transient( 'update_themes' );
|
419 |
if ( ! isset( $themes_update->response[ $theme_basename ] ) ||
|
420 |
+
empty( $themes_update->response[ $theme_basename ]['package'] )
|
421 |
) {
|
422 |
return $prepared_themes;
|
423 |
}
|
636 |
foreach ( $this->_translation_updates as $translation_update ) {
|
637 |
$lang = $translation_update['language'];
|
638 |
if ( ! isset( $current_plugin_translation_updates_map[ $lang ] ) ||
|
639 |
+
version_compare( $translation_update['version'], $current_plugin_translation_updates_map[ $lang ]['version'], '>' )
|
640 |
) {
|
641 |
$current_plugin_translation_updates_map[ $lang ] = $translation_update;
|
642 |
}
|
660 |
* @return object
|
661 |
*/
|
662 |
function get_update_details( FS_Plugin_Tag $new_version ) {
|
663 |
+
$update = new stdClass();
|
664 |
+
$update->slug = $this->_fs->get_slug();
|
665 |
+
$update->new_version = $new_version->version;
|
666 |
+
$update->url = WP_FS__ADDRESS;
|
667 |
+
$update->package = $new_version->url;
|
668 |
+
$update->tested = self::get_tested_wp_version( $new_version->tested_up_to_version );
|
669 |
+
$update->requires = $new_version->requires_platform_version;
|
670 |
+
$update->requires_php = $new_version->requires_programming_language_version;
|
671 |
|
672 |
$icon = $this->_fs->get_local_icon_url();
|
673 |
|
809 |
$basename = $this->_fs->get_plugin_basename();
|
810 |
|
811 |
if ( ! is_object( $transient_data ) ||
|
812 |
+
! isset( $transient_data->response ) ||
|
813 |
! is_array( $transient_data->response ) ||
|
814 |
+
empty( $transient_data->response[ $basename ] )
|
815 |
) {
|
816 |
return;
|
817 |
}
|
1096 |
if ( ! $plugin_in_repo ) {
|
1097 |
$data->last_updated = ! is_null( $new_version->updated ) ? $new_version->updated : $new_version->created;
|
1098 |
$data->requires = $new_version->requires_platform_version;
|
1099 |
+
$data->requires_php = $new_version->requires_programming_language_version;
|
1100 |
$data->tested = $new_version->tested_up_to_version;
|
1101 |
}
|
1102 |
|
1150 |
}
|
1151 |
}
|
1152 |
|
1153 |
+
if ( ! empty( $data->tested ) ) {
|
1154 |
+
$data->tested = self::get_tested_wp_version( $data->tested );
|
1155 |
+
}
|
1156 |
+
|
1157 |
return $data;
|
1158 |
}
|
1159 |
|
1160 |
+
/**
|
1161 |
+
* @since 2.5.3 If the current WordPress version is a patch of the tested version (e.g., 6.1.2 is a patch of 6.1), then override the tested version with the patch so developers won't need to release a new version just to bump the latest supported WP version.
|
1162 |
+
*
|
1163 |
+
* @param string|null $tested_up_to
|
1164 |
+
*
|
1165 |
+
* @return string|null
|
1166 |
+
*/
|
1167 |
+
private static function get_tested_wp_version( $tested_up_to ) {
|
1168 |
+
$current_wp_version = get_bloginfo( 'version' );
|
1169 |
+
|
1170 |
+
return ( ! empty($tested_up_to) && fs_starts_with( $current_wp_version, $tested_up_to . '.' ) ) ?
|
1171 |
+
$current_wp_version :
|
1172 |
+
$tested_up_to;
|
1173 |
+
}
|
1174 |
+
|
1175 |
/**
|
1176 |
* @author Vova Feldman (@svovaf)
|
1177 |
* @since 1.2.1.7
|
freemius/includes/entities/class-fs-plugin-tag.php
CHANGED
@@ -23,6 +23,10 @@
|
|
23 |
* @var string
|
24 |
*/
|
25 |
public $requires_platform_version;
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* @var string
|
28 |
*/
|
23 |
* @var string
|
24 |
*/
|
25 |
public $requires_platform_version;
|
26 |
+
/**
|
27 |
+
* @var string
|
28 |
+
*/
|
29 |
+
public $requires_programming_language_version;
|
30 |
/**
|
31 |
* @var string
|
32 |
*/
|
freemius/includes/fs-plugin-info-dialog.php
CHANGED
@@ -311,6 +311,7 @@
|
|
311 |
$data->version = $latest->version;
|
312 |
$data->last_updated = $latest->created;
|
313 |
$data->requires = $latest->requires_platform_version;
|
|
|
314 |
$data->tested = $latest->tested_up_to_version;
|
315 |
} else if ( ! empty( $current_addon_version ) ) {
|
316 |
$data->version = $current_addon_version;
|
@@ -1344,7 +1345,10 @@
|
|
1344 |
?>
|
1345 |
<li>
|
1346 |
<strong><?php fs_esc_html_echo_inline( 'Requires WordPress Version', 'requires-wordpress-version', $api->slug ) ?>
|
1347 |
-
:</strong> <?php echo esc_html( sprintf(
|
|
|
|
|
|
|
1348 |
</li>
|
1349 |
<?php
|
1350 |
}
|
@@ -1356,6 +1360,19 @@
|
|
1356 |
</li>
|
1357 |
<?php
|
1358 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1359 |
if ( ! empty( $api->downloaded ) ) {
|
1360 |
?>
|
1361 |
<li>
|
@@ -1485,9 +1502,43 @@
|
|
1485 |
</div>
|
1486 |
<div id="section-holder" class="wrap">
|
1487 |
<?php
|
1488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1489 |
echo '<div class="notice notice-warning"><p>' . '<strong>' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ':</strong> ' . fs_text_inline( 'This plugin has not been tested with your current version of WordPress.', 'not-tested-warning', $api->slug ) . '</p></div>';
|
1490 |
-
} else if ( !
|
1491 |
echo '<div class="notice notice-warning"><p>' . '<strong>' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ':</strong> ' . fs_text_inline( 'This plugin has not been marked as compatible with your version of WordPress.', 'not-compatible-warning', $api->slug ) . '</p></div>';
|
1492 |
}
|
1493 |
|
311 |
$data->version = $latest->version;
|
312 |
$data->last_updated = $latest->created;
|
313 |
$data->requires = $latest->requires_platform_version;
|
314 |
+
$data->requires_php = $latest->requires_programming_language_version;
|
315 |
$data->tested = $latest->tested_up_to_version;
|
316 |
} else if ( ! empty( $current_addon_version ) ) {
|
317 |
$data->version = $current_addon_version;
|
1345 |
?>
|
1346 |
<li>
|
1347 |
<strong><?php fs_esc_html_echo_inline( 'Requires WordPress Version', 'requires-wordpress-version', $api->slug ) ?>
|
1348 |
+
:</strong> <?php echo esc_html( sprintf(
|
1349 |
+
/* translators: %s: Version number. */
|
1350 |
+
fs_text_inline( '%s or higher', 'x-or-higher', $api->slug ), $api->requires )
|
1351 |
+
) ?>
|
1352 |
</li>
|
1353 |
<?php
|
1354 |
}
|
1360 |
</li>
|
1361 |
<?php
|
1362 |
}
|
1363 |
+
if ( ! empty( $api->requires_php ) ) {
|
1364 |
+
?>
|
1365 |
+
<li>
|
1366 |
+
<strong><?php fs_esc_html_echo_inline( 'Requires PHP Version', 'requires-php-version', $api->slug ); ?>:</strong>
|
1367 |
+
<?php
|
1368 |
+
echo esc_html( sprintf(
|
1369 |
+
/* translators: %s: Version number. */
|
1370 |
+
fs_text_inline( '%s or higher', 'x-or-higher', $api->slug ), $api->requires_php )
|
1371 |
+
);
|
1372 |
+
?>
|
1373 |
+
</li>
|
1374 |
+
<?php
|
1375 |
+
}
|
1376 |
if ( ! empty( $api->downloaded ) ) {
|
1377 |
?>
|
1378 |
<li>
|
1502 |
</div>
|
1503 |
<div id="section-holder" class="wrap">
|
1504 |
<?php
|
1505 |
+
$requires_php = isset( $api->requires_php ) ? $api->requires_php : null;
|
1506 |
+
$requires_wp = isset( $api->requires ) ? $api->requires : null;
|
1507 |
+
|
1508 |
+
$compatible_php = empty( $requires_php ) || version_compare( PHP_VERSION, $requires_php, '>=' );
|
1509 |
+
|
1510 |
+
// Strip off any -alpha, -RC, -beta, -src suffixes.
|
1511 |
+
list( $wp_version ) = explode( '-', $GLOBALS['wp_version'] );
|
1512 |
+
|
1513 |
+
$compatible_wp = empty( $requires_wp ) || version_compare( $wp_version, $requires_wp, '>=' );
|
1514 |
+
$tested_wp = ( empty( $api->tested ) || version_compare( $wp_version, $api->tested, '<=' ) );
|
1515 |
+
|
1516 |
+
if ( ! $compatible_php ) {
|
1517 |
+
echo '<div class="notice notice-error notice-alt"><p><strong>' . fs_text_inline( 'Error', 'error', $api->slug ) . ':</strong> ' . fs_text_inline( 'This plugin requires a newer version of PHP.', 'newer-php-required-error', $api->slug );
|
1518 |
+
|
1519 |
+
if ( current_user_can( 'update_php' ) ) {
|
1520 |
+
$wp_get_update_php_url = function_exists( 'wp_get_update_php_url' ) ?
|
1521 |
+
wp_get_update_php_url() :
|
1522 |
+
'https://wordpress.org/support/update-php/';
|
1523 |
+
|
1524 |
+
printf(
|
1525 |
+
/* translators: %s: URL to Update PHP page. */
|
1526 |
+
' ' . fs_text_inline( '<a href="%s" target="_blank">Click here to learn more about updating PHP</a>.', 'php-update-learn-more-link', $api->slug ),
|
1527 |
+
esc_url( $wp_get_update_php_url )
|
1528 |
+
);
|
1529 |
+
|
1530 |
+
if ( function_exists( 'wp_update_php_annotation' ) ) {
|
1531 |
+
wp_update_php_annotation( '</p><p><em>', '</em>' );
|
1532 |
+
}
|
1533 |
+
} else {
|
1534 |
+
echo '</p>';
|
1535 |
+
}
|
1536 |
+
echo '</div>';
|
1537 |
+
}
|
1538 |
+
|
1539 |
+
if ( ! $tested_wp ) {
|
1540 |
echo '<div class="notice notice-warning"><p>' . '<strong>' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ':</strong> ' . fs_text_inline( 'This plugin has not been tested with your current version of WordPress.', 'not-tested-warning', $api->slug ) . '</p></div>';
|
1541 |
+
} else if ( ! $compatible_wp ) {
|
1542 |
echo '<div class="notice notice-warning"><p>' . '<strong>' . fs_text_inline( 'Warning', 'warning', $api->slug ) . ':</strong> ' . fs_text_inline( 'This plugin has not been marked as compatible with your version of WordPress.', 'not-compatible-warning', $api->slug ) . '</p></div>';
|
1543 |
}
|
1544 |
|
freemius/languages/freemius-cs_CZ.mo
CHANGED
Binary file
|
freemius/languages/freemius-da_DK.mo
CHANGED
Binary file
|
freemius/languages/freemius-de_DE.mo
CHANGED
Binary file
|
freemius/languages/freemius-en.mo
CHANGED
Binary file
|
freemius/languages/freemius-es_ES.mo
CHANGED
Binary file
|
freemius/languages/freemius-fr_FR.mo
CHANGED
Binary file
|
freemius/languages/freemius-he_IL.mo
CHANGED
Binary file
|
freemius/languages/freemius-hu_HU.mo
CHANGED
Binary file
|
freemius/languages/freemius-it_IT.mo
CHANGED
Binary file
|
freemius/languages/freemius-ja.mo
CHANGED
Binary file
|
freemius/languages/freemius-nl_NL.mo
CHANGED
Binary file
|
freemius/languages/freemius-ru_RU.mo
CHANGED
Binary file
|
freemius/languages/freemius-ta.mo
CHANGED
Binary file
|
freemius/languages/freemius-zh_CN.mo
CHANGED
Binary file
|
freemius/languages/freemius.pot
CHANGED
@@ -28,7 +28,7 @@ msgstr ""
|
|
28 |
msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: includes/class-freemius.php:1978
|
32 |
msgid "Error"
|
33 |
msgstr ""
|
34 |
|
@@ -214,7 +214,7 @@ msgid "Purchase License"
|
|
214 |
msgstr ""
|
215 |
|
216 |
#: includes/class-freemius.php:7318, templates/connect.php:216
|
217 |
-
msgid "You should receive
|
218 |
msgstr ""
|
219 |
|
220 |
#: includes/class-freemius.php:7322
|
@@ -222,7 +222,7 @@ msgid "start the trial"
|
|
222 |
msgstr ""
|
223 |
|
224 |
#: includes/class-freemius.php:7323, templates/connect.php:220
|
225 |
-
msgid "complete the
|
226 |
msgstr ""
|
227 |
|
228 |
#: includes/class-freemius.php:7456
|
@@ -246,7 +246,7 @@ msgstr ""
|
|
246 |
msgid "The upgrade of %s was successfully completed."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/class-freemius.php:10709, includes/class-fs-plugin-updater.php:
|
250 |
msgid "Add-On"
|
251 |
msgstr ""
|
252 |
|
@@ -708,115 +708,115 @@ msgstr ""
|
|
708 |
msgid "Opt In"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: includes/class-freemius.php:
|
712 |
msgid " The paid version of %1$s is already installed. Please activate it to start benefiting the %2$s features. %3$s"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: includes/class-freemius.php:
|
716 |
msgid "Activate %s features"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/class-freemius.php:
|
720 |
msgid "Please follow these steps to complete the upgrade"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/class-freemius.php:
|
724 |
msgid "Download the latest %s version"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: includes/class-freemius.php:
|
728 |
msgid "Upload and activate the downloaded version"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: includes/class-freemius.php:
|
732 |
msgid "How to upload and activate?"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: includes/class-freemius.php:
|
736 |
msgid "%sClick here%s to choose the sites where you'd like to activate the license on."
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: includes/class-freemius.php:
|
740 |
msgid "Auto installation only works for opted-in users."
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/class-freemius.php:
|
744 |
msgid "Invalid module ID."
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: includes/class-freemius.php:
|
748 |
msgid "Premium version already active."
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: includes/class-freemius.php:
|
752 |
msgid "You do not have a valid license to access the premium version."
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: includes/class-freemius.php:
|
756 |
msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version."
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/class-freemius.php:
|
760 |
msgid "Premium add-on version already installed."
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/class-freemius.php:
|
764 |
msgid "View paid features"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: includes/class-freemius.php:
|
768 |
msgid "Thank you so much for using %s and its add-ons!"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: includes/class-freemius.php:
|
772 |
msgid "Thank you so much for using %s!"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: includes/class-freemius.php:
|
776 |
msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s."
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: includes/class-freemius.php:
|
780 |
msgid "Thank you so much for using our products!"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: includes/class-freemius.php:
|
784 |
msgid "You've already opted-in to our usage-tracking, which helps us keep improving them."
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: includes/class-freemius.php:
|
788 |
msgid "%s and its add-ons"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/class-freemius.php:
|
792 |
msgid "Products"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: includes/class-freemius.php:
|
796 |
msgid "Yes"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/class-freemius.php:
|
800 |
msgid "send me security & feature updates, educational content and offers."
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/class-freemius.php:
|
804 |
msgid "No"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/class-freemius.php:
|
808 |
msgid "do %sNOT%s send me security & feature updates, educational content and offers."
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: includes/class-freemius.php:
|
812 |
msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard :-)"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: includes/class-freemius.php:
|
816 |
msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: includes/class-freemius.php:
|
820 |
msgid "License key is empty."
|
821 |
msgstr ""
|
822 |
|
@@ -844,314 +844,326 @@ msgstr ""
|
|
844 |
msgid "Important Upgrade Notice:"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/class-fs-plugin-updater.php:
|
848 |
msgid "Installing plugin: %s"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/class-fs-plugin-updater.php:
|
852 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: includes/class-fs-plugin-updater.php:
|
856 |
msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work."
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/fs-plugin-info-dialog.php:
|
860 |
msgid "Purchase More"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: includes/fs-plugin-info-dialog.php:
|
864 |
msgctxt "verb"
|
865 |
msgid "Purchase"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: includes/fs-plugin-info-dialog.php:
|
869 |
msgid "Start my free %s"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: includes/fs-plugin-info-dialog.php:
|
873 |
msgid "Install Free Version Update Now"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/fs-plugin-info-dialog.php:
|
877 |
msgid "Install Update Now"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: includes/fs-plugin-info-dialog.php:
|
881 |
msgid "Install Free Version Now"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: includes/fs-plugin-info-dialog.php:
|
885 |
msgid "Install Now"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: includes/fs-plugin-info-dialog.php:
|
889 |
msgctxt "as download latest version"
|
890 |
msgid "Download Latest Free Version"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: includes/fs-plugin-info-dialog.php:
|
894 |
msgctxt "as download latest version"
|
895 |
msgid "Download Latest"
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: includes/fs-plugin-info-dialog.php:
|
899 |
msgid "Activate this add-on"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: includes/fs-plugin-info-dialog.php:
|
903 |
msgid "Activate Free Version"
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: includes/fs-plugin-info-dialog.php:
|
907 |
msgid "Activate"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: includes/fs-plugin-info-dialog.php:
|
911 |
msgctxt "Plugin installer section title"
|
912 |
msgid "Description"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: includes/fs-plugin-info-dialog.php:
|
916 |
msgctxt "Plugin installer section title"
|
917 |
msgid "Installation"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: includes/fs-plugin-info-dialog.php:
|
921 |
msgctxt "Plugin installer section title"
|
922 |
msgid "FAQ"
|
923 |
msgstr ""
|
924 |
|
925 |
-
#: includes/fs-plugin-info-dialog.php:
|
926 |
msgid "Screenshots"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: includes/fs-plugin-info-dialog.php:
|
930 |
msgctxt "Plugin installer section title"
|
931 |
msgid "Changelog"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: includes/fs-plugin-info-dialog.php:
|
935 |
msgctxt "Plugin installer section title"
|
936 |
msgid "Reviews"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: includes/fs-plugin-info-dialog.php:
|
940 |
msgctxt "Plugin installer section title"
|
941 |
msgid "Other Notes"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: includes/fs-plugin-info-dialog.php:
|
945 |
msgctxt "Plugin installer section title"
|
946 |
msgid "Features & Pricing"
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: includes/fs-plugin-info-dialog.php:
|
950 |
msgid "Plugin Install"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: includes/fs-plugin-info-dialog.php:
|
954 |
msgctxt "e.g. Professional Plan"
|
955 |
msgid "%s Plan"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: includes/fs-plugin-info-dialog.php:
|
959 |
msgctxt "e.g. the best product"
|
960 |
msgid "Best"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: includes/fs-plugin-info-dialog.php:
|
964 |
msgctxt "as every month"
|
965 |
msgid "Monthly"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: includes/fs-plugin-info-dialog.php:
|
969 |
msgctxt "as once a year"
|
970 |
msgid "Annual"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: includes/fs-plugin-info-dialog.php:
|
974 |
msgid "Lifetime"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: includes/fs-plugin-info-dialog.php:
|
978 |
msgctxt "e.g. billed monthly"
|
979 |
msgid "Billed %s"
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: includes/fs-plugin-info-dialog.php:
|
983 |
msgctxt "as once a year"
|
984 |
msgid "Annually"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: includes/fs-plugin-info-dialog.php:
|
988 |
msgctxt "as once a year"
|
989 |
msgid "Once"
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: includes/fs-plugin-info-dialog.php:
|
993 |
msgid "Single Site License"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: includes/fs-plugin-info-dialog.php:
|
997 |
msgid "Unlimited Licenses"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: includes/fs-plugin-info-dialog.php:
|
1001 |
msgid "Up to %s Sites"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: includes/fs-plugin-info-dialog.php:
|
1005 |
msgctxt "as monthly period"
|
1006 |
msgid "mo"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: includes/fs-plugin-info-dialog.php:
|
1010 |
msgctxt "as annual period"
|
1011 |
msgid "year"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: includes/fs-plugin-info-dialog.php:
|
1015 |
msgctxt "noun"
|
1016 |
msgid "Price"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: includes/fs-plugin-info-dialog.php:
|
1020 |
msgid "Save %s"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: includes/fs-plugin-info-dialog.php:
|
1024 |
msgid "No commitment for %s - cancel anytime"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: includes/fs-plugin-info-dialog.php:
|
1028 |
msgid "After your free %s, pay as little as %s"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: includes/fs-plugin-info-dialog.php:
|
1032 |
msgid "Details"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: includes/fs-plugin-info-dialog.php:
|
1036 |
msgctxt "product version"
|
1037 |
msgid "Version"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: includes/fs-plugin-info-dialog.php:
|
1041 |
msgctxt "as the plugin author"
|
1042 |
msgid "Author"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: includes/fs-plugin-info-dialog.php:
|
1046 |
msgid "Last Updated"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/fs-plugin-info-dialog.php:
|
1050 |
msgctxt "x-ago"
|
1051 |
msgid "%s ago"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: includes/fs-plugin-info-dialog.php:
|
1055 |
msgid "Requires WordPress Version"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: includes/fs-plugin-info-dialog.php:
|
1059 |
msgid "%s or higher"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: includes/fs-plugin-info-dialog.php:
|
1063 |
msgid "Compatible up to"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: includes/fs-plugin-info-dialog.php:
|
|
|
|
|
|
|
|
|
1067 |
msgid "Downloaded"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: includes/fs-plugin-info-dialog.php:
|
1071 |
msgid "%s time"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
-
#: includes/fs-plugin-info-dialog.php:
|
1075 |
msgid "%s times"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: includes/fs-plugin-info-dialog.php:
|
1079 |
msgid "WordPress.org Plugin Page"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: includes/fs-plugin-info-dialog.php:
|
1083 |
msgid "Plugin Homepage"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: includes/fs-plugin-info-dialog.php:
|
1087 |
msgid "Donate to this plugin"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: includes/fs-plugin-info-dialog.php:
|
1091 |
msgid "Average Rating"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: includes/fs-plugin-info-dialog.php:
|
1095 |
msgid "based on %s"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: includes/fs-plugin-info-dialog.php:
|
1099 |
msgid "%s rating"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: includes/fs-plugin-info-dialog.php:
|
1103 |
msgid "%s ratings"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: includes/fs-plugin-info-dialog.php:
|
1107 |
msgid "%s star"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: includes/fs-plugin-info-dialog.php:
|
1111 |
msgid "%s stars"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
-
#: includes/fs-plugin-info-dialog.php:
|
1115 |
msgid "Click to see reviews that provided a rating of %s"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: includes/fs-plugin-info-dialog.php:
|
1119 |
msgid "Contributors"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: includes/fs-plugin-info-dialog.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1123 |
msgid "Warning"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: includes/fs-plugin-info-dialog.php:
|
1127 |
msgid "This plugin has not been tested with your current version of WordPress."
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: includes/fs-plugin-info-dialog.php:
|
1131 |
msgid "This plugin has not been marked as compatible with your version of WordPress."
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: includes/fs-plugin-info-dialog.php:
|
1135 |
msgid "Paid add-on must be deployed to Freemius."
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: includes/fs-plugin-info-dialog.php:
|
1139 |
msgid "Add-on must be deployed to WordPress.org or Freemius."
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: includes/fs-plugin-info-dialog.php:
|
1143 |
msgid "Newer Version (%s) Installed"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: includes/fs-plugin-info-dialog.php:
|
1147 |
msgid "Newer Free Version (%s) Installed"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: includes/fs-plugin-info-dialog.php:
|
1151 |
msgid "Latest Version Installed"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: includes/fs-plugin-info-dialog.php:
|
1155 |
msgid "Latest Free Version Installed"
|
1156 |
msgstr ""
|
1157 |
|
28 |
msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: includes/class-freemius.php:1978, includes/fs-plugin-info-dialog.php:1517
|
32 |
msgid "Error"
|
33 |
msgstr ""
|
34 |
|
214 |
msgstr ""
|
215 |
|
216 |
#: includes/class-freemius.php:7318, templates/connect.php:216
|
217 |
+
msgid "You should receive a confirmation email for %s to your mailbox at %s. Please make sure you click the button in that email to %s."
|
218 |
msgstr ""
|
219 |
|
220 |
#: includes/class-freemius.php:7322
|
222 |
msgstr ""
|
223 |
|
224 |
#: includes/class-freemius.php:7323, templates/connect.php:220
|
225 |
+
msgid "complete the opt-in"
|
226 |
msgstr ""
|
227 |
|
228 |
#: includes/class-freemius.php:7456
|
246 |
msgid "The upgrade of %s was successfully completed."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/class-freemius.php:10709, includes/class-fs-plugin-updater.php:1090, includes/class-fs-plugin-updater.php:1305, includes/class-fs-plugin-updater.php:1312, templates/auto-installation.php:32
|
250 |
msgid "Add-On"
|
251 |
msgstr ""
|
252 |
|
708 |
msgid "Opt In"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/class-freemius.php:24931
|
712 |
msgid " The paid version of %1$s is already installed. Please activate it to start benefiting the %2$s features. %3$s"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: includes/class-freemius.php:24941
|
716 |
msgid "Activate %s features"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/class-freemius.php:24954
|
720 |
msgid "Please follow these steps to complete the upgrade"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/class-freemius.php:24958
|
724 |
msgid "Download the latest %s version"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: includes/class-freemius.php:24962
|
728 |
msgid "Upload and activate the downloaded version"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: includes/class-freemius.php:24964
|
732 |
msgid "How to upload and activate?"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: includes/class-freemius.php:25098
|
736 |
msgid "%sClick here%s to choose the sites where you'd like to activate the license on."
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: includes/class-freemius.php:25267
|
740 |
msgid "Auto installation only works for opted-in users."
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/class-freemius.php:25277, includes/class-freemius.php:25310, includes/class-fs-plugin-updater.php:1284, includes/class-fs-plugin-updater.php:1298
|
744 |
msgid "Invalid module ID."
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: includes/class-freemius.php:25286, includes/class-fs-plugin-updater.php:1320
|
748 |
msgid "Premium version already active."
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: includes/class-freemius.php:25293
|
752 |
msgid "You do not have a valid license to access the premium version."
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: includes/class-freemius.php:25300
|
756 |
msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/class-freemius.php:25318, includes/class-fs-plugin-updater.php:1319
|
760 |
msgid "Premium add-on version already installed."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/class-freemius.php:25672
|
764 |
msgid "View paid features"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: includes/class-freemius.php:25994
|
768 |
msgid "Thank you so much for using %s and its add-ons!"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: includes/class-freemius.php:25995
|
772 |
msgid "Thank you so much for using %s!"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: includes/class-freemius.php:26001
|
776 |
msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s."
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: includes/class-freemius.php:26005
|
780 |
msgid "Thank you so much for using our products!"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: includes/class-freemius.php:26006
|
784 |
msgid "You've already opted-in to our usage-tracking, which helps us keep improving them."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: includes/class-freemius.php:26025
|
788 |
msgid "%s and its add-ons"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: includes/class-freemius.php:26034
|
792 |
msgid "Products"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: includes/class-freemius.php:26041, templates/connect.php:324
|
796 |
msgid "Yes"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: includes/class-freemius.php:26042, templates/connect.php:325
|
800 |
msgid "send me security & feature updates, educational content and offers."
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: includes/class-freemius.php:26043, templates/connect.php:330
|
804 |
msgid "No"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: includes/class-freemius.php:26045, templates/connect.php:332
|
808 |
msgid "do %sNOT%s send me security & feature updates, educational content and offers."
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: includes/class-freemius.php:26055
|
812 |
msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard :-)"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: includes/class-freemius.php:26057, templates/connect.php:339
|
816 |
msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: includes/class-freemius.php:26339
|
820 |
msgid "License key is empty."
|
821 |
msgstr ""
|
822 |
|
844 |
msgid "Important Upgrade Notice:"
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: includes/class-fs-plugin-updater.php:1349
|
848 |
msgid "Installing plugin: %s"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: includes/class-fs-plugin-updater.php:1390
|
852 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: includes/class-fs-plugin-updater.php:1572
|
856 |
msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work."
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: includes/fs-plugin-info-dialog.php:542
|
860 |
msgid "Purchase More"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: includes/fs-plugin-info-dialog.php:543, templates/account/partials/addon.php:390
|
864 |
msgctxt "verb"
|
865 |
msgid "Purchase"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: includes/fs-plugin-info-dialog.php:547
|
869 |
msgid "Start my free %s"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: includes/fs-plugin-info-dialog.php:745
|
873 |
msgid "Install Free Version Update Now"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/fs-plugin-info-dialog.php:746, templates/account.php:656
|
877 |
msgid "Install Update Now"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: includes/fs-plugin-info-dialog.php:755
|
881 |
msgid "Install Free Version Now"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: includes/fs-plugin-info-dialog.php:756, templates/add-ons.php:323, templates/auto-installation.php:111, templates/account/partials/addon.php:370, templates/account/partials/addon.php:423
|
885 |
msgid "Install Now"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: includes/fs-plugin-info-dialog.php:772
|
889 |
msgctxt "as download latest version"
|
890 |
msgid "Download Latest Free Version"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: includes/fs-plugin-info-dialog.php:773, templates/account.php:114, templates/add-ons.php:37, templates/account/partials/addon.php:30
|
894 |
msgctxt "as download latest version"
|
895 |
msgid "Download Latest"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: includes/fs-plugin-info-dialog.php:788, templates/add-ons.php:329, templates/account/partials/addon.php:361, templates/account/partials/addon.php:417
|
899 |
msgid "Activate this add-on"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: includes/fs-plugin-info-dialog.php:790, templates/connect.php:446
|
903 |
msgid "Activate Free Version"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: includes/fs-plugin-info-dialog.php:791, templates/account.php:138, templates/add-ons.php:330, templates/account/partials/addon.php:53
|
907 |
msgid "Activate"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: includes/fs-plugin-info-dialog.php:1003
|
911 |
msgctxt "Plugin installer section title"
|
912 |
msgid "Description"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: includes/fs-plugin-info-dialog.php:1004
|
916 |
msgctxt "Plugin installer section title"
|
917 |
msgid "Installation"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: includes/fs-plugin-info-dialog.php:1005
|
921 |
msgctxt "Plugin installer section title"
|
922 |
msgid "FAQ"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: includes/fs-plugin-info-dialog.php:1006, templates/plugin-info/description.php:55
|
926 |
msgid "Screenshots"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: includes/fs-plugin-info-dialog.php:1007
|
930 |
msgctxt "Plugin installer section title"
|
931 |
msgid "Changelog"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: includes/fs-plugin-info-dialog.php:1008
|
935 |
msgctxt "Plugin installer section title"
|
936 |
msgid "Reviews"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: includes/fs-plugin-info-dialog.php:1009
|
940 |
msgctxt "Plugin installer section title"
|
941 |
msgid "Other Notes"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: includes/fs-plugin-info-dialog.php:1024
|
945 |
msgctxt "Plugin installer section title"
|
946 |
msgid "Features & Pricing"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: includes/fs-plugin-info-dialog.php:1034
|
950 |
msgid "Plugin Install"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: includes/fs-plugin-info-dialog.php:1106
|
954 |
msgctxt "e.g. Professional Plan"
|
955 |
msgid "%s Plan"
|
956 |
msgstr ""
|
957 |
|
958 |
+
#: includes/fs-plugin-info-dialog.php:1132
|
959 |
msgctxt "e.g. the best product"
|
960 |
msgid "Best"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: includes/fs-plugin-info-dialog.php:1138, includes/fs-plugin-info-dialog.php:1158
|
964 |
msgctxt "as every month"
|
965 |
msgid "Monthly"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: includes/fs-plugin-info-dialog.php:1141
|
969 |
msgctxt "as once a year"
|
970 |
msgid "Annual"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: includes/fs-plugin-info-dialog.php:1144
|
974 |
msgid "Lifetime"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: includes/fs-plugin-info-dialog.php:1158, includes/fs-plugin-info-dialog.php:1160, includes/fs-plugin-info-dialog.php:1162
|
978 |
msgctxt "e.g. billed monthly"
|
979 |
msgid "Billed %s"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: includes/fs-plugin-info-dialog.php:1160
|
983 |
msgctxt "as once a year"
|
984 |
msgid "Annually"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: includes/fs-plugin-info-dialog.php:1162
|
988 |
msgctxt "as once a year"
|
989 |
msgid "Once"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: includes/fs-plugin-info-dialog.php:1168
|
993 |
msgid "Single Site License"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: includes/fs-plugin-info-dialog.php:1170
|
997 |
msgid "Unlimited Licenses"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: includes/fs-plugin-info-dialog.php:1172
|
1001 |
msgid "Up to %s Sites"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: includes/fs-plugin-info-dialog.php:1182, templates/plugin-info/features.php:82
|
1005 |
msgctxt "as monthly period"
|
1006 |
msgid "mo"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: includes/fs-plugin-info-dialog.php:1189, templates/plugin-info/features.php:80
|
1010 |
msgctxt "as annual period"
|
1011 |
msgid "year"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: includes/fs-plugin-info-dialog.php:1243
|
1015 |
msgctxt "noun"
|
1016 |
msgid "Price"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: includes/fs-plugin-info-dialog.php:1291
|
1020 |
msgid "Save %s"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: includes/fs-plugin-info-dialog.php:1301
|
1024 |
msgid "No commitment for %s - cancel anytime"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: includes/fs-plugin-info-dialog.php:1304
|
1028 |
msgid "After your free %s, pay as little as %s"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
+
#: includes/fs-plugin-info-dialog.php:1315
|
1032 |
msgid "Details"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: includes/fs-plugin-info-dialog.php:1319, templates/account.php:125, templates/debug.php:232, templates/debug.php:269, templates/debug.php:514, templates/account/partials/addon.php:41
|
1036 |
msgctxt "product version"
|
1037 |
msgid "Version"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: includes/fs-plugin-info-dialog.php:1326
|
1041 |
msgctxt "as the plugin author"
|
1042 |
msgid "Author"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: includes/fs-plugin-info-dialog.php:1333
|
1046 |
msgid "Last Updated"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
+
#: includes/fs-plugin-info-dialog.php:1338, templates/account.php:544
|
1050 |
msgctxt "x-ago"
|
1051 |
msgid "%s ago"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: includes/fs-plugin-info-dialog.php:1347
|
1055 |
msgid "Requires WordPress Version"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: includes/fs-plugin-info-dialog.php:1350, includes/fs-plugin-info-dialog.php:1370
|
1059 |
msgid "%s or higher"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: includes/fs-plugin-info-dialog.php:1358
|
1063 |
msgid "Compatible up to"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: includes/fs-plugin-info-dialog.php:1366
|
1067 |
+
msgid "Requires PHP Version"
|
1068 |
+
msgstr ""
|
1069 |
+
|
1070 |
+
#: includes/fs-plugin-info-dialog.php:1379
|
1071 |
msgid "Downloaded"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: includes/fs-plugin-info-dialog.php:1383
|
1075 |
msgid "%s time"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: includes/fs-plugin-info-dialog.php:1385
|
1079 |
msgid "%s times"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: includes/fs-plugin-info-dialog.php:1396
|
1083 |
msgid "WordPress.org Plugin Page"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: includes/fs-plugin-info-dialog.php:1405
|
1087 |
msgid "Plugin Homepage"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: includes/fs-plugin-info-dialog.php:1414, includes/fs-plugin-info-dialog.php:1498
|
1091 |
msgid "Donate to this plugin"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/fs-plugin-info-dialog.php:1421
|
1095 |
msgid "Average Rating"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: includes/fs-plugin-info-dialog.php:1428
|
1099 |
msgid "based on %s"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: includes/fs-plugin-info-dialog.php:1432
|
1103 |
msgid "%s rating"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: includes/fs-plugin-info-dialog.php:1434
|
1107 |
msgid "%s ratings"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: includes/fs-plugin-info-dialog.php:1449
|
1111 |
msgid "%s star"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: includes/fs-plugin-info-dialog.php:1451
|
1115 |
msgid "%s stars"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: includes/fs-plugin-info-dialog.php:1463
|
1119 |
msgid "Click to see reviews that provided a rating of %s"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: includes/fs-plugin-info-dialog.php:1476
|
1123 |
msgid "Contributors"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
+
#: includes/fs-plugin-info-dialog.php:1517
|
1127 |
+
msgid "This plugin requires a newer version of PHP."
|
1128 |
+
msgstr ""
|
1129 |
+
|
1130 |
+
#: includes/fs-plugin-info-dialog.php:1526
|
1131 |
+
msgid "<a href=\"%s\" target=\"_blank\">Click here to learn more about updating PHP</a>."
|
1132 |
+
msgstr ""
|
1133 |
+
|
1134 |
+
#: includes/fs-plugin-info-dialog.php:1540, includes/fs-plugin-info-dialog.php:1542
|
1135 |
msgid "Warning"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: includes/fs-plugin-info-dialog.php:1540
|
1139 |
msgid "This plugin has not been tested with your current version of WordPress."
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: includes/fs-plugin-info-dialog.php:1542
|
1143 |
msgid "This plugin has not been marked as compatible with your version of WordPress."
|
1144 |
msgstr ""
|
1145 |
|
1146 |
+
#: includes/fs-plugin-info-dialog.php:1561
|
1147 |
msgid "Paid add-on must be deployed to Freemius."
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: includes/fs-plugin-info-dialog.php:1562
|
1151 |
msgid "Add-on must be deployed to WordPress.org or Freemius."
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: includes/fs-plugin-info-dialog.php:1583
|
1155 |
msgid "Newer Version (%s) Installed"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: includes/fs-plugin-info-dialog.php:1584
|
1159 |
msgid "Newer Free Version (%s) Installed"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
+
#: includes/fs-plugin-info-dialog.php:1591
|
1163 |
msgid "Latest Version Installed"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
+
#: includes/fs-plugin-info-dialog.php:1592
|
1167 |
msgid "Latest Free Version Installed"
|
1168 |
msgstr ""
|
1169 |
|
freemius/start.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
$this_sdk_version = '2.5.
|
19 |
|
20 |
#region SDK Selection Logic --------------------------------------------------------------------
|
21 |
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
$this_sdk_version = '2.5.3';
|
19 |
|
20 |
#region SDK Selection Logic --------------------------------------------------------------------
|
21 |
|
freemius/templates/connect.php
CHANGED
@@ -213,11 +213,11 @@
|
|
213 |
$message = $fs->apply_filters( 'pending_activation_message', sprintf(
|
214 |
/* translators: %s: name (e.g. Thanks John!) */
|
215 |
fs_text_inline( 'Thanks %s!', 'thanks-x', $slug ) . '<br>' .
|
216 |
-
fs_text_inline( 'You should receive
|
217 |
$first_name,
|
218 |
'<b>' . $fs->get_plugin_name() . '</b>',
|
219 |
'<b>' . $current_user->user_email . '</b>',
|
220 |
-
fs_text_inline( 'complete the
|
221 |
) );
|
222 |
} else if ( $require_license_key ) {
|
223 |
$button_label = fs_text_inline( 'Activate License', 'activate-license', $slug );
|
213 |
$message = $fs->apply_filters( 'pending_activation_message', sprintf(
|
214 |
/* translators: %s: name (e.g. Thanks John!) */
|
215 |
fs_text_inline( 'Thanks %s!', 'thanks-x', $slug ) . '<br>' .
|
216 |
+
fs_text_inline( 'You should receive a confirmation email for %s to your mailbox at %s. Please make sure you click the button in that email to %s.', 'pending-activation-message', $slug ),
|
217 |
$first_name,
|
218 |
'<b>' . $fs->get_plugin_name() . '</b>',
|
219 |
'<b>' . $current_user->user_email . '</b>',
|
220 |
+
fs_text_inline( 'complete the opt-in', 'complete-the-opt-in', $slug )
|
221 |
) );
|
222 |
} else if ( $require_license_key ) {
|
223 |
$button_label = fs_text_inline( 'Activate License', 'activate-license', $slug );
|
freemius/templates/plugin-info/description.php
CHANGED
@@ -52,7 +52,7 @@
|
|
52 |
<?php if ( ! empty( $plugin->info->screenshots ) ) : ?>
|
53 |
<?php $screenshots = $plugin->info->screenshots ?>
|
54 |
<div class="fs-screenshots clearfix">
|
55 |
-
<
|
56 |
<ul>
|
57 |
<?php $i = 0;
|
58 |
foreach ( $screenshots as $s => $url ) : ?>
|
52 |
<?php if ( ! empty( $plugin->info->screenshots ) ) : ?>
|
53 |
<?php $screenshots = $plugin->info->screenshots ?>
|
54 |
<div class="fs-screenshots clearfix">
|
55 |
+
<h3><?php fs_esc_html_echo_inline( 'Screenshots', 'screenshots', $plugin->slug ) ?></h3>
|
56 |
<ul>
|
57 |
<?php $i = 0;
|
58 |
foreach ( $screenshots as $s => $url ) : ?>
|
public/assets/js/player.js
CHANGED
@@ -79,10 +79,43 @@
|
|
79 |
return cue;
|
80 |
}
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
/**
|
@@ -220,25 +253,13 @@
|
|
220 |
for ( var i = 0, max = settings.tracks.length; i < max; i++ ) {
|
221 |
var track = settings.tracks[ i ];
|
222 |
|
|
|
|
|
|
|
|
|
|
|
223 |
if ( /srt/.test( track.src.toLowerCase() ) ) {
|
224 |
-
|
225 |
-
var vtt_text = aiovg_srt_to_webvtt( track.text );
|
226 |
-
var vtt_blob = new Blob([ vtt_text ], { type : 'text/vtt' });
|
227 |
-
var blob_url = URL.createObjectURL( vtt_blob );
|
228 |
-
|
229 |
-
var track_obj = {
|
230 |
-
src: blob_url,
|
231 |
-
srclang: track.srclang,
|
232 |
-
label: track.label,
|
233 |
-
kind: 'subtitles'
|
234 |
-
};
|
235 |
-
|
236 |
-
if ( 1 == settings.cc_load_policy && 0 == i ) {
|
237 |
-
track_obj.mode = 'showing';
|
238 |
-
}
|
239 |
-
|
240 |
-
player.addRemoteTextTrack( track_obj, true );
|
241 |
-
});
|
242 |
} else {
|
243 |
var track_obj = {
|
244 |
src: track.src,
|
@@ -247,8 +268,8 @@
|
|
247 |
kind: 'subtitles'
|
248 |
};
|
249 |
|
250 |
-
if (
|
251 |
-
track_obj.mode =
|
252 |
}
|
253 |
|
254 |
player.addRemoteTextTrack( track_obj, true );
|
79 |
return cue;
|
80 |
}
|
81 |
|
82 |
+
function add_srt_text_track( player, track, mode ) {
|
83 |
+
var xmlhttp;
|
84 |
+
|
85 |
+
if ( window.XMLHttpRequest ) {
|
86 |
+
xmlhttp = new XMLHttpRequest();
|
87 |
+
} else {
|
88 |
+
xmlhttp = new ActiveXObject( 'Microsoft.XMLHTTP' );
|
89 |
+
};
|
90 |
+
|
91 |
+
xmlhttp.onreadystatechange = function() {
|
92 |
+
if ( 4 == xmlhttp.readyState && 200 == xmlhttp.status ) {
|
93 |
+
if ( xmlhttp.responseText ) {
|
94 |
+
var vtt_text = aiovg_srt_to_webvtt( xmlhttp.responseText );
|
95 |
+
|
96 |
+
if ( '' != vtt_text ) {
|
97 |
+
var vtt_blob = new Blob([ vtt_text ], { type : 'text/vtt' });
|
98 |
+
var blob_url = URL.createObjectURL( vtt_blob );
|
99 |
+
|
100 |
+
var track_obj = {
|
101 |
+
src: blob_url,
|
102 |
+
srclang: track.srclang,
|
103 |
+
label: track.label,
|
104 |
+
kind: 'subtitles'
|
105 |
+
};
|
106 |
+
|
107 |
+
if ( '' != mode ) {
|
108 |
+
track_obj.mode = mode;
|
109 |
+
}
|
110 |
+
|
111 |
+
player.addRemoteTextTrack( track_obj, true );
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
};
|
116 |
+
|
117 |
+
xmlhttp.open( 'GET', track.src, true );
|
118 |
+
xmlhttp.send();
|
119 |
}
|
120 |
|
121 |
/**
|
253 |
for ( var i = 0, max = settings.tracks.length; i < max; i++ ) {
|
254 |
var track = settings.tracks[ i ];
|
255 |
|
256 |
+
var mode = '';
|
257 |
+
if ( 0 == i && 1 == settings.cc_load_policy ) {
|
258 |
+
mode = 'showing';
|
259 |
+
}
|
260 |
+
|
261 |
if ( /srt/.test( track.src.toLowerCase() ) ) {
|
262 |
+
add_srt_text_track( player, track, mode );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
} else {
|
264 |
var track_obj = {
|
265 |
src: track.src,
|
268 |
kind: 'subtitles'
|
269 |
};
|
270 |
|
271 |
+
if ( '' != mode ) {
|
272 |
+
track_obj.mode = mode;
|
273 |
}
|
274 |
|
275 |
player.addRemoteTextTrack( track_obj, true );
|
public/templates/player-html5.php
CHANGED
@@ -900,11 +900,44 @@ $settings = apply_filters( 'aiovg_video_settings', $settings );
|
|
900 |
return cue;
|
901 |
}
|
902 |
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
|
909 |
/**
|
910 |
* Update video views count.
|
@@ -1002,25 +1035,13 @@ $settings = apply_filters( 'aiovg_video_settings', $settings );
|
|
1002 |
for ( var i = 0, max = settings.aiovg.tracks.length; i < max; i++ ) {
|
1003 |
var track = settings.aiovg.tracks[ i ];
|
1004 |
|
|
|
|
|
|
|
|
|
|
|
1005 |
if ( /srt/.test( track.src.toLowerCase() ) ) {
|
1006 |
-
|
1007 |
-
var vttText = srtToWebVTT( track.text );
|
1008 |
-
var vttBlob = new Blob([ vttText ], { type : 'text/vtt' });
|
1009 |
-
var blobURL = URL.createObjectURL( vttBlob );
|
1010 |
-
|
1011 |
-
var trackObj = {
|
1012 |
-
src: blobURL,
|
1013 |
-
srclang: track.srclang,
|
1014 |
-
label: track.label,
|
1015 |
-
kind: 'subtitles'
|
1016 |
-
};
|
1017 |
-
|
1018 |
-
if ( 1 == settings.aiovg.cc_load_policy && 0 == i ) {
|
1019 |
-
trackObj.mode = 'showing';
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
player.addRemoteTextTrack( trackObj, true );
|
1023 |
-
});
|
1024 |
} else {
|
1025 |
var trackObj = {
|
1026 |
src: track.src,
|
@@ -1029,8 +1050,8 @@ $settings = apply_filters( 'aiovg_video_settings', $settings );
|
|
1029 |
kind: 'subtitles'
|
1030 |
};
|
1031 |
|
1032 |
-
if (
|
1033 |
-
trackObj.mode =
|
1034 |
}
|
1035 |
|
1036 |
player.addRemoteTextTrack( trackObj, true );
|
900 |
return cue;
|
901 |
}
|
902 |
|
903 |
+
function addSrtTextTrack( player, track, mode ) {
|
904 |
+
var xmlhttp;
|
905 |
+
|
906 |
+
if ( window.XMLHttpRequest ) {
|
907 |
+
xmlhttp = new XMLHttpRequest();
|
908 |
+
} else {
|
909 |
+
xmlhttp = new ActiveXObject( 'Microsoft.XMLHTTP' );
|
910 |
+
};
|
911 |
+
|
912 |
+
xmlhttp.onreadystatechange = function() {
|
913 |
+
if ( 4 == xmlhttp.readyState && 200 == xmlhttp.status ) {
|
914 |
+
if ( xmlhttp.responseText ) {
|
915 |
+
var vttText = srtToWebVTT( xmlhttp.responseText );
|
916 |
+
|
917 |
+
if ( '' != vttText ) {
|
918 |
+
var vttBlob = new Blob([ vttText ], { type : 'text/vtt' });
|
919 |
+
var blobURL = URL.createObjectURL( vttBlob );
|
920 |
+
|
921 |
+
var trackObj = {
|
922 |
+
src: blobURL,
|
923 |
+
srclang: track.srclang,
|
924 |
+
label: track.label,
|
925 |
+
kind: 'subtitles'
|
926 |
+
};
|
927 |
+
|
928 |
+
if ( '' != mode ) {
|
929 |
+
trackObj.mode = mode;
|
930 |
+
}
|
931 |
+
|
932 |
+
player.addRemoteTextTrack( trackObj, true );
|
933 |
+
}
|
934 |
+
}
|
935 |
+
}
|
936 |
+
};
|
937 |
+
|
938 |
+
xmlhttp.open( 'GET', track.src, true );
|
939 |
+
xmlhttp.send();
|
940 |
+
}
|
941 |
|
942 |
/**
|
943 |
* Update video views count.
|
1035 |
for ( var i = 0, max = settings.aiovg.tracks.length; i < max; i++ ) {
|
1036 |
var track = settings.aiovg.tracks[ i ];
|
1037 |
|
1038 |
+
var mode = '';
|
1039 |
+
if ( 0 == i && 1 == settings.aiovg.cc_load_policy ) {
|
1040 |
+
mode = 'showing';
|
1041 |
+
}
|
1042 |
+
|
1043 |
if ( /srt/.test( track.src.toLowerCase() ) ) {
|
1044 |
+
addSrtTextTrack( player, track, mode );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1045 |
} else {
|
1046 |
var trackObj = {
|
1047 |
src: track.src,
|
1050 |
kind: 'subtitles'
|
1051 |
};
|
1052 |
|
1053 |
+
if ( '' != mode ) {
|
1054 |
+
trackObj.mode = mode;
|
1055 |
}
|
1056 |
|
1057 |
player.addRemoteTextTrack( trackObj, true );
|
public/templates/player-iframe.php
CHANGED
@@ -64,7 +64,7 @@ if ( 'rumble' == $type && ! empty( $embed_url ) ) {
|
|
64 |
}
|
65 |
}
|
66 |
|
67 |
-
if ( in_array( $type,
|
68 |
foreach ( $embedded_sources as $source ) {
|
69 |
$is_src_found = 0;
|
70 |
|
64 |
}
|
65 |
}
|
66 |
|
67 |
+
if ( ! in_array( $type, array( 'embedcode', 'rumble' ) ) ) {
|
68 |
foreach ( $embedded_sources as $source ) {
|
69 |
$is_src_found = 0;
|
70 |
|