Version Description
Released Oct 24 - 2018
- New: Support to WooCommerce 3.5.0.
- Update: Plugin Core.
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Quick View |
Version | 1.3.5 |
Comparing to | |
See all releases |
Code changes from version 1.3.4 to 1.3.5
- README.txt +8 -4
- includes/class.yith-wcqv-admin.php +1 -6
- init.php +5 -5
- plugin-fw/assets/css/admin.css +13 -0
- plugin-fw/assets/js/yith-promo.js +20 -0
- plugin-fw/assets/js/yith-promo.min.js +1 -0
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +123 -186
- plugin-fw/lib/promo/yith-promo.php +141 -0
- plugin-fw/lib/yit-ajax.php +1 -1
- plugin-fw/lib/yit-assets.php +1 -1
- plugin-fw/lib/yit-cpt-unlimited.php +1 -1
- plugin-fw/lib/yit-debug.php +1 -1
- plugin-fw/lib/yit-icons.php +1 -1
- plugin-fw/lib/yit-metabox.php +1 -1
- plugin-fw/lib/yit-plugin-panel-wc.php +1 -1
- plugin-fw/lib/yit-plugin-panel.php +1 -1
- plugin-fw/lib/yit-plugin-subpanel.php +1 -1
- plugin-fw/lib/yit-pointers.php +4 -4
- plugin-fw/lib/yit-upgrade.php +21 -6
- plugin-fw/lib/yit-video.php +1 -1
- plugin-fw/licence/lib/yit-licence.php +1 -1
- plugin-fw/licence/lib/yit-plugin-licence.php +1 -1
- plugin-fw/licence/lib/yit-theme-licence.php +1 -1
- plugin-fw/licence/templates/panel/activation/activation-panel.php +1 -1
- plugin-fw/templates/metaboxes/types/icon-list.php +1 -1
- plugin-fw/templates/panel/panel-field-container.php +1 -1
- plugin-fw/templates/panel/woocommerce/woocommerce-upload.php +1 -1
- plugin-fw/yit-plugin.php +2 -1
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
|
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -42,6 +42,11 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
= 1.3.4 = Released Oct 05 - 2018
|
46 |
|
47 |
* New: Support to WooCommerce 3.5.0 RC1.
|
@@ -187,8 +192,7 @@ Or, if you have created your own language pack, or have an update for an existin
|
|
187 |
|
188 |
== Upgrade notice ==
|
189 |
|
190 |
-
= 1.3.
|
191 |
|
192 |
-
* New: Support to WooCommerce 3.5.0
|
193 |
-
* New: Compatibility with YITH WooCommerce Gift Card.
|
194 |
* Update: Plugin Core.
|
3 |
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.3.5
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 1.3.5 = Released Oct 24 - 2018
|
46 |
+
|
47 |
+
* New: Support to WooCommerce 3.5.0.
|
48 |
+
* Update: Plugin Core.
|
49 |
+
|
50 |
= 1.3.4 = Released Oct 05 - 2018
|
51 |
|
52 |
* New: Support to WooCommerce 3.5.0 RC1.
|
192 |
|
193 |
== Upgrade notice ==
|
194 |
|
195 |
+
= 1.3.5 = Released Oct 24 - 2018
|
196 |
|
197 |
+
* New: Support to WooCommerce 3.5.0.
|
|
|
198 |
* Update: Plugin Core.
|
includes/class.yith-wcqv-admin.php
CHANGED
@@ -125,12 +125,7 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
|
|
125 |
* @use plugin_action_links_{$plugin_file_name}
|
126 |
*/
|
127 |
public function action_links( $links ) {
|
128 |
-
|
129 |
-
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-quick-view' ) . '</a>';
|
130 |
-
if( defined( 'YITH_WCQV_PREMIUM' ) && YITH_WCQV_PREMIUM ) {
|
131 |
-
$links[] = '<a href="' . YIT_Plugin_Licence()->get_license_activation_url() . '">' . __( 'License', 'yith-woocommerce-quick-view' ) . '</a>';
|
132 |
-
}
|
133 |
-
|
134 |
return $links;
|
135 |
}
|
136 |
|
125 |
* @use plugin_action_links_{$plugin_file_name}
|
126 |
*/
|
127 |
public function action_links( $links ) {
|
128 |
+
$links = yith_add_action_links( $links, $this->_panel_page, false );
|
|
|
|
|
|
|
|
|
|
|
129 |
return $links;
|
130 |
}
|
131 |
|
init.php
CHANGED
@@ -2,18 +2,18 @@
|
|
2 |
/**
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
-
* Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">
|
6 |
-
* Version: 1.3.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
10 |
* Domain Path: /languages/
|
11 |
* WC requires at least: 2.5.0
|
12 |
-
* WC tested up to: 3.
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
16 |
-
* @version 1.3.
|
17 |
*/
|
18 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
|
@@ -61,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
-
define( 'YITH_WCQV_VERSION', '1.3.
|
65 |
}
|
66 |
|
67 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
2 |
/**
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
+
* Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 1.3.5
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-quick-view
|
10 |
* Domain Path: /languages/
|
11 |
* WC requires at least: 2.5.0
|
12 |
+
* WC tested up to: 3.5.0
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Quick View
|
16 |
+
* @version 1.3.5
|
17 |
*/
|
18 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
+
define( 'YITH_WCQV_VERSION', '1.3.5' );
|
65 |
}
|
66 |
|
67 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
plugin-fw/assets/css/admin.css
CHANGED
@@ -33,6 +33,19 @@
|
|
33 |
line-height : 1.5em;
|
34 |
}
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
/*-----------------------
|
37 |
YITH Plugins Columns
|
38 |
------------------------*/
|
33 |
line-height : 1.5em;
|
34 |
}
|
35 |
|
36 |
+
.notice-yith{
|
37 |
+
border-left-color: #acc327;
|
38 |
+
}
|
39 |
+
|
40 |
+
.notice-yith.notice-alt{
|
41 |
+
background-color: #ecf7ed;
|
42 |
+
}
|
43 |
+
|
44 |
+
.yith-promo-banner-image{
|
45 |
+
max-width: 100%;
|
46 |
+
padding-bottom: 15px;
|
47 |
+
}
|
48 |
+
|
49 |
/*-----------------------
|
50 |
YITH Plugins Columns
|
51 |
------------------------*/
|
plugin-fw/assets/js/yith-promo.js
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
$(document).on('click', '.notice-dismiss', function () {
|
3 |
+
var t = $(this),
|
4 |
+
promo_wrapper = t.parent('div.yith-notice-is-dismissible'),
|
5 |
+
promo_id = promo_wrapper.attr('id');
|
6 |
+
|
7 |
+
if (typeof promo_id != 'undefined') {
|
8 |
+
var cname = 'hide_' + promo_id,
|
9 |
+
cvalue = 'yes',
|
10 |
+
expiry = promo_wrapper.data('expiry'),
|
11 |
+
expiry_date = new Date(expiry);
|
12 |
+
|
13 |
+
expiry_date.setUTCHours( 23 );
|
14 |
+
expiry_date.setUTCMinutes( 59 );
|
15 |
+
expiry_date.setUTCSeconds( 59 );
|
16 |
+
|
17 |
+
document.cookie = cname + "=" + cvalue + ";" + 'expires=' + expiry_date.toUTCString() + ";path=/";
|
18 |
+
}
|
19 |
+
});
|
20 |
+
})(jQuery);
|
plugin-fw/assets/js/yith-promo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
(function(c){c(document).on("click",".notice-dismiss",function(){var a=c(this).parent("div.yith-notice-is-dismissible"),b=a.attr("id");"undefined"!=typeof b&&(b="hide_"+b,a=a.data("expiry"),a=new Date(a),a.setUTCHours(23),a.setUTCMinutes(59),a.setUTCSeconds(59),document.cookie=b+"=yes;expires="+a.toUTCString()+";path=/")})})(jQuery);
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.0.
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
-
* @version 3.0.
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.0.29
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
+
* @version 3.0.24
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2018-
|
8 |
-
"PO-Revision-Date: 2018-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
@@ -23,8 +23,6 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
#: lib/privacy/yit-privacy.php:24
|
26 |
-
#, fuzzy
|
27 |
-
#| msgid "YITH Plugins"
|
28 |
msgctxt "Privacy Policy Guide Title"
|
29 |
msgid "YITH Plugins"
|
30 |
msgstr "YITH Plugins"
|
@@ -39,26 +37,33 @@ msgid ""
|
|
39 |
"We recommend consulting with a lawyer when deciding what information to "
|
40 |
"disclose on your privacy policy."
|
41 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
#: lib/privacy/yit-privacy.php:63
|
44 |
msgctxt "Privacy Policy Content"
|
45 |
msgid "What we collect and store"
|
46 |
-
msgstr ""
|
47 |
|
48 |
#: lib/privacy/yit-privacy.php:66
|
49 |
msgctxt "Privacy Policy Content"
|
50 |
msgid "Who on our team has access"
|
51 |
-
msgstr ""
|
52 |
|
53 |
#: lib/privacy/yit-privacy.php:69
|
54 |
msgctxt "Privacy Policy Content"
|
55 |
msgid "What we share with others"
|
56 |
-
msgstr ""
|
57 |
|
58 |
#: lib/privacy/yit-privacy.php:72
|
59 |
msgctxt "Privacy Policy Content"
|
60 |
msgid "Payments"
|
61 |
-
msgstr ""
|
62 |
|
63 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
64 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
@@ -264,7 +269,7 @@ msgstr "Aggiungi %s dalla immagini"
|
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Carica file multipli"
|
266 |
|
267 |
-
#: lib/yit-plugin-panel-wc.php:
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
270 |
|
@@ -272,16 +277,16 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Impostazioni plugin"
|
274 |
|
275 |
-
#: lib/yit-plugin-panel.php:
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Come installare la versione premium"
|
278 |
|
279 |
-
#: lib/yit-plugin-panel.php:
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Salva modifiche"
|
283 |
|
284 |
-
#: lib/yit-plugin-panel.php:
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
@@ -289,53 +294,53 @@ msgstr ""
|
|
289 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
290 |
"reimpostate."
|
291 |
|
292 |
-
#: lib/yit-plugin-panel.php:
|
293 |
msgid "Reset to default"
|
294 |
msgstr "Ripristina configurazione predefinita"
|
295 |
|
296 |
-
#: lib/yit-plugin-panel.php:
|
297 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
298 |
msgid "Are you sure?"
|
299 |
msgstr "Sei sicuro?"
|
300 |
|
301 |
-
#: lib/yit-plugin-panel.php:
|
302 |
msgid ""
|
303 |
"The element you have entered already exists. Please, enter another name."
|
304 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
305 |
|
306 |
-
#: lib/yit-plugin-panel.php:
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Impostazioni salvate"
|
309 |
|
310 |
-
#: lib/yit-plugin-panel.php:
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Impostazioni azzerate"
|
313 |
|
314 |
-
#: lib/yit-plugin-panel.php:
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento rimosso correttamente."
|
317 |
|
318 |
-
#: lib/yit-plugin-panel.php:
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento aggiornato correttamente."
|
321 |
|
322 |
-
#: lib/yit-plugin-panel.php:
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Database importato correttamente."
|
325 |
|
326 |
-
#: lib/yit-plugin-panel.php:
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
329 |
|
330 |
-
#: lib/yit-plugin-panel.php:
|
331 |
msgid "The added file is not valid."
|
332 |
msgstr "Il file aggiunto non è valido."
|
333 |
|
334 |
-
#: lib/yit-plugin-panel.php:
|
335 |
msgid "Sorry, import is disabled."
|
336 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
337 |
|
338 |
-
#: lib/yit-plugin-panel.php:
|
339 |
msgid "Sorting successful."
|
340 |
msgstr "Ordinamento effettuato con successo."
|
341 |
|
@@ -344,21 +349,15 @@ msgid "Plugins Activated"
|
|
344 |
msgstr "Plugin attivati"
|
345 |
|
346 |
#: lib/yit-pointers.php:71
|
347 |
-
#, fuzzy
|
348 |
-
#| msgid ""
|
349 |
-
#| "From now on, you can find all plugin options in YIT Plugin menu.\n"
|
350 |
-
#| " For each plugin installed, "
|
351 |
-
#| "customization settings will be available as a new entry in YIT Plugin "
|
352 |
-
#| "menu."
|
353 |
msgid ""
|
354 |
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
355 |
" Plugin customization settings will be "
|
356 |
"available as a new entry in YITH Plugins menu."
|
357 |
msgstr ""
|
358 |
-
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu
|
359 |
-
"
|
360 |
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu "
|
361 |
-
"
|
362 |
|
363 |
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
364 |
msgid "Discover all our plugins available on:"
|
@@ -373,17 +372,6 @@ msgid "Plugins Upgraded"
|
|
373 |
msgstr "Plugin aggiornati"
|
374 |
|
375 |
#: lib/yit-pointers.php:85
|
376 |
-
#, fuzzy
|
377 |
-
#| msgid ""
|
378 |
-
#| "From now on, you can find all options of your plugins in YIT Plugin "
|
379 |
-
#| "menu.\n"
|
380 |
-
#| " Any time one of our plugins is "
|
381 |
-
#| "updated, a new entry will be added to this menu.\n"
|
382 |
-
#| " For example, after the update, plugin "
|
383 |
-
#| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
384 |
-
#| "Search, etc.)\n"
|
385 |
-
#| " will be moved from previous location "
|
386 |
-
#| "to YIT Plugin tab."
|
387 |
msgid ""
|
388 |
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
389 |
"menu.\n"
|
@@ -395,63 +383,55 @@ msgid ""
|
|
395 |
" will be moved from previous location to "
|
396 |
"YITH Plugins tab."
|
397 |
msgstr ""
|
398 |
-
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu
|
399 |
-
"
|
400 |
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in "
|
401 |
"questo menu.\n"
|
402 |
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio "
|
403 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
404 |
-
"saranno trasferite nella scheda
|
405 |
|
406 |
-
#: lib/yit-upgrade.php:
|
407 |
-
#, fuzzy
|
408 |
-
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
409 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
410 |
-
msgstr "
|
411 |
|
412 |
-
#: lib/yit-upgrade.php:
|
413 |
msgid "There is a new version of %plugin_name% available."
|
414 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
415 |
|
416 |
-
#: lib/yit-upgrade.php:
|
417 |
msgid "View version %latest% details."
|
418 |
msgstr "Visualizza i dettagli della versione %latest%."
|
419 |
|
420 |
-
#: lib/yit-upgrade.php:
|
421 |
msgid "Automatic update is unavailable for this plugin,"
|
422 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
423 |
|
424 |
-
#: lib/yit-upgrade.php:
|
425 |
msgid ""
|
426 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
427 |
msgstr ""
|
428 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
429 |
"%plugin_name%."
|
430 |
|
431 |
-
#: lib/yit-upgrade.php:
|
432 |
msgid "Update now."
|
433 |
msgstr "Aggiorna adesso."
|
434 |
|
435 |
-
#: lib/yit-upgrade.php:
|
436 |
-
#, fuzzy
|
437 |
-
#| msgid "YIThemes Repository"
|
438 |
msgid "YITH Repository"
|
439 |
-
msgstr "Repository
|
440 |
|
441 |
-
#: lib/yit-upgrade.php:
|
442 |
msgid "Invalid URL Provided."
|
443 |
msgstr "L'URL inserito non è valido."
|
444 |
|
445 |
-
#: lib/yit-upgrade.php:
|
446 |
msgid "Could not create Temporary file."
|
447 |
msgstr "Non è stato possibile creare il file temporaneo."
|
448 |
|
449 |
-
#: lib/yit-upgrade.php:
|
450 |
-
#,
|
451 |
-
#| msgid ""
|
452 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
453 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
454 |
-
#| "details</a>."
|
455 |
msgid ""
|
456 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
457 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -461,32 +441,21 @@ msgstr ""
|
|
461 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
462 |
"%4$s</a>."
|
463 |
|
464 |
-
#: lib/yit-upgrade.php:
|
465 |
-
#,
|
466 |
-
#| msgid ""
|
467 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
468 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
469 |
-
#| "details</a>. <em>You have to activate the plugin on a single site of the "
|
470 |
-
#| "network to benefit from automatic updates.</em>"
|
471 |
msgid ""
|
472 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
473 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
474 |
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
475 |
"the network to benefit from automatic updates.</em>"
|
476 |
msgstr ""
|
477 |
-
"È disponibile una nuova
|
478 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
479 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
480 |
"necessario attivare il plugin su un solo sito.</em>"
|
481 |
|
482 |
-
#: lib/yit-upgrade.php:
|
483 |
-
#,
|
484 |
-
#| msgid ""
|
485 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
486 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
487 |
-
#| "details</a>. <em>Automatic update is unavailable for this plugin, please "
|
488 |
-
#| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
|
489 |
-
#| "%6s.</em>"
|
490 |
msgid ""
|
491 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
492 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -497,15 +466,11 @@ msgstr ""
|
|
497 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
498 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
499 |
"%4$s</a>. <em>Gli aggiornamenti automatici non sono disponibili per questo "
|
500 |
-
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">
|
501 |
-
"la
|
502 |
-
|
503 |
-
#: lib/yit-upgrade.php:
|
504 |
-
#,
|
505 |
-
#| msgid ""
|
506 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
507 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
508 |
-
#| "details</a> or <a href=\"%5$s\">update now</a>."
|
509 |
msgid ""
|
510 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
511 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -515,99 +480,99 @@ msgstr ""
|
|
515 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
516 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
517 |
|
518 |
-
#: lib/yit-upgrade.php:
|
519 |
msgid "You can't update the plugins for this site."
|
520 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
521 |
|
522 |
-
#: lib/yit-upgrade.php:
|
523 |
msgid ""
|
524 |
"You do not have sufficient permissions to update the plugins for this site."
|
525 |
msgstr ""
|
526 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
527 |
"in questo sito."
|
528 |
|
529 |
-
#: lib/yit-upgrade.php:
|
530 |
msgid "Update Plugin"
|
531 |
msgstr "Aggiorna plugin"
|
532 |
|
533 |
-
#: licence/lib/yit-licence.php:
|
534 |
#, php-format
|
535 |
msgctxt "%s = field name"
|
536 |
msgid "%s field cannot be empty"
|
537 |
msgstr "Il campo %s non può essere vuoto"
|
538 |
|
539 |
-
#: licence/lib/yit-licence.php:
|
540 |
#, php-format
|
541 |
msgid "%s and %s fields cannot be empty"
|
542 |
msgstr "I campi %s e %s non possono essere vuoti"
|
543 |
|
544 |
-
#: licence/lib/yit-licence.php:
|
545 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
546 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
547 |
|
548 |
-
#: licence/lib/yit-licence.php:
|
549 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
550 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
551 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
552 |
msgid "Email"
|
553 |
msgstr "Email"
|
554 |
|
555 |
-
#: licence/lib/yit-licence.php:
|
556 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
557 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
558 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
559 |
msgid "License Key"
|
560 |
msgstr "Chiave di licenza"
|
561 |
|
562 |
-
#: licence/lib/yit-licence.php:
|
563 |
msgid "Are you sure you want to deactivate the license for current site?"
|
564 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
565 |
|
566 |
-
#: licence/lib/yit-licence.php:
|
567 |
msgid "Invalid Request"
|
568 |
msgstr "Richiesta non valida"
|
569 |
|
570 |
-
#: licence/lib/yit-licence.php:
|
571 |
msgid "Invalid license key"
|
572 |
msgstr "Chiave di licenza non valida"
|
573 |
|
574 |
-
#: licence/lib/yit-licence.php:
|
575 |
msgid "Software has been deactivated"
|
576 |
msgstr "Il software è stato disattivato"
|
577 |
|
578 |
-
#: licence/lib/yit-licence.php:
|
579 |
msgid "Maximum number of activations exceeded"
|
580 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
581 |
|
582 |
-
#: licence/lib/yit-licence.php:
|
583 |
msgid "Invalid instance ID"
|
584 |
msgstr "Istanza ID non valida"
|
585 |
|
586 |
-
#: licence/lib/yit-licence.php:
|
587 |
msgid "Invalid security key"
|
588 |
msgstr "Chiave di sicurezza non valida"
|
589 |
|
590 |
-
#: licence/lib/yit-licence.php:
|
591 |
msgid "License key has expired"
|
592 |
msgstr "La chiave di licenza è scaduta"
|
593 |
|
594 |
-
#: licence/lib/yit-licence.php:
|
595 |
msgid "License key has been banned"
|
596 |
msgstr "La chiave di licenza è stata bloccata"
|
597 |
|
598 |
-
#: licence/lib/yit-licence.php:
|
599 |
msgid "Current product is not included in your YITH Club Subscription key"
|
600 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
601 |
|
602 |
-
#: licence/lib/yit-licence.php:
|
603 |
msgid "Great"
|
604 |
msgstr "Grande!"
|
605 |
|
606 |
-
#: licence/lib/yit-licence.php:
|
607 |
msgid "License successfully activated"
|
608 |
msgstr "Licenza attivata con successo"
|
609 |
|
610 |
-
#: licence/lib/yit-licence.php:
|
611 |
msgid "License key deactivated for website"
|
612 |
msgstr "Chiave di licenza disattivata per il sito web"
|
613 |
|
@@ -631,18 +596,6 @@ msgstr ""
|
|
631 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
632 |
|
633 |
#: licence/lib/yit-theme-licence.php:163
|
634 |
-
#, fuzzy
|
635 |
-
#| msgid ""
|
636 |
-
#| "If you have purchased one of our products before 27 January 2015, you can "
|
637 |
-
#| "benefit from support and updates (the services offered with the license)\n"
|
638 |
-
#| " until 27 January 2016 and you do not have to purchase "
|
639 |
-
#| "it again to get a new license key, because, before this date, your "
|
640 |
-
#| "license used to be activated automatically by our system.\n"
|
641 |
-
#| " After 27 January 2016, instead, if you want to "
|
642 |
-
#| "benefit from support and updates you have to buy a new license and "
|
643 |
-
#| "activate it through the license key you will be\n"
|
644 |
-
#| " provided with and that you can find in your YIThemes "
|
645 |
-
#| "account, in section \"My licenses\"."
|
646 |
msgid ""
|
647 |
"If you have purchased one of our products before 27 January 2015, you can "
|
648 |
"benefit from support and updates (the services offered with the license)\n"
|
@@ -663,16 +616,14 @@ msgstr ""
|
|
663 |
"Dopo il 27 gennaio 2016, invece, se vorrai usufruire di supporto e "
|
664 |
"aggiornamenti dovrai acquistare una nuova licenza e attivarla con il codice "
|
665 |
"che ti verrà\n"
|
666 |
-
"fornito e che puoi trovare nella tua area riservata su
|
667 |
-
"
|
668 |
|
669 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
670 |
-
#, fuzzy
|
671 |
-
#| msgid "License Activation"
|
672 |
msgid "YITH License Activation"
|
673 |
-
msgstr "Attivazione licenza"
|
674 |
|
675 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
676 |
msgid ""
|
677 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
678 |
"information concerning your products."
|
@@ -680,86 +631,82 @@ msgstr ""
|
|
680 |
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
681 |
"informazioni dei tuoi prodotti."
|
682 |
|
683 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
684 |
msgid "Update license information"
|
685 |
msgstr "Aggiorna informazioni licenza"
|
686 |
|
687 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
688 |
msgid "Product to activate"
|
689 |
msgid_plural "Products to activate"
|
690 |
msgstr[0] "Prodotto da attivare"
|
691 |
msgstr[1] "Prodotti da attivare"
|
692 |
|
693 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
694 |
msgid "Activate"
|
695 |
msgstr "Attiva"
|
696 |
|
697 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
698 |
msgid "Activated"
|
699 |
msgstr "Attivato"
|
700 |
|
701 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
702 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
703 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
704 |
msgid "Product Name"
|
705 |
msgstr "Nome prodotto"
|
706 |
|
707 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
708 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
709 |
msgid "Expires"
|
710 |
msgstr "Scadenza"
|
711 |
|
712 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
713 |
msgid "Remaining"
|
714 |
msgstr "Tempo rimanente"
|
715 |
|
716 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
717 |
msgid "Club Subscription"
|
718 |
msgstr "Club Subscription"
|
719 |
|
720 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
721 |
msgid "License Actions"
|
722 |
msgstr "Azioni licenza"
|
723 |
|
724 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
725 |
#, php-format
|
726 |
msgid "%1s out of %2s"
|
727 |
msgstr "%1s di %2s"
|
728 |
|
729 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
730 |
msgid "Deactivate"
|
731 |
msgstr "Disattiva"
|
732 |
|
733 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
734 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
735 |
msgid "Renew"
|
736 |
msgstr "Rinnova"
|
737 |
|
738 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
739 |
msgid "Banned"
|
740 |
msgstr "Bloccato"
|
741 |
|
742 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
743 |
msgid "Expired"
|
744 |
msgstr "Non più valido"
|
745 |
|
746 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
747 |
msgid "Order again"
|
748 |
msgstr "Acquista di nuovo"
|
749 |
|
750 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
751 |
msgid "Renew license"
|
752 |
msgstr "Rinnova la licenza"
|
753 |
|
754 |
#: templates/fields/ajax-posts.php:57
|
755 |
-
#, fuzzy
|
756 |
-
#| msgid "Search %s"
|
757 |
msgid "Search Posts"
|
758 |
-
msgstr "Cerca
|
759 |
|
760 |
#: templates/fields/ajax-products.php:16
|
761 |
-
#, fuzzy
|
762 |
-
#| msgid "Search for a product"
|
763 |
msgid "Search Product"
|
764 |
msgstr "Cerca un prodotto"
|
765 |
|
@@ -792,8 +739,6 @@ msgid "Do you want to remove the custom tab?"
|
|
792 |
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
793 |
|
794 |
#: templates/fields/icons.php:58
|
795 |
-
#, fuzzy
|
796 |
-
#| msgid "Reset Defaults"
|
797 |
msgid "Set Default"
|
798 |
msgstr "Ripristina impostazioni iniziali"
|
799 |
|
@@ -818,14 +763,12 @@ msgid "Delete"
|
|
818 |
msgstr "Rimuovi"
|
819 |
|
820 |
#: templates/fields/select-buttons.php:26
|
821 |
-
#, fuzzy
|
822 |
-
#| msgid "Select"
|
823 |
msgid "Select All"
|
824 |
-
msgstr "
|
825 |
|
826 |
#: templates/fields/select-buttons.php:33
|
827 |
msgid "Deselect All"
|
828 |
-
msgstr ""
|
829 |
|
830 |
#: templates/fields/sidebars.php:22
|
831 |
msgid "Left sidebar"
|
@@ -878,38 +821,32 @@ msgstr "(Default: <i %s></i> )"
|
|
878 |
msgid "Reset Defaults"
|
879 |
msgstr "Ripristina impostazioni iniziali"
|
880 |
|
881 |
-
#: yit-plugin.php:
|
882 |
msgctxt "Plugin Row Meta"
|
883 |
msgid "Live Demo"
|
884 |
-
msgstr ""
|
885 |
|
886 |
-
#: yit-plugin.php:
|
887 |
msgctxt "Plugin Row Meta"
|
888 |
msgid "Documentation"
|
889 |
-
msgstr ""
|
890 |
|
891 |
-
#: yit-plugin.php:
|
892 |
msgctxt "Plugin Row Meta"
|
893 |
msgid "Support"
|
894 |
-
msgstr ""
|
895 |
|
896 |
-
#: yit-plugin.php:
|
897 |
-
#, fuzzy
|
898 |
-
#| msgid "Premium version upgrade"
|
899 |
msgctxt "Plugin Row Meta"
|
900 |
msgid "Premium version"
|
901 |
-
msgstr "
|
902 |
|
903 |
-
#: yit-plugin.php:
|
904 |
-
#, fuzzy
|
905 |
-
#| msgid "Settings"
|
906 |
msgctxt "Action links"
|
907 |
msgid "Settings"
|
908 |
msgstr "Impostazioni"
|
909 |
|
910 |
-
#: yit-plugin.php:
|
911 |
-
#, fuzzy
|
912 |
-
#| msgid "License Key"
|
913 |
msgid "License"
|
914 |
msgstr "Chiave di licenza"
|
915 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2018-10-23 15:44+0200\n"
|
8 |
+
"PO-Revision-Date: 2018-10-24 13:28+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
#: lib/privacy/yit-privacy.php:24
|
|
|
|
|
26 |
msgctxt "Privacy Policy Guide Title"
|
27 |
msgid "YITH Plugins"
|
28 |
msgstr "YITH Plugins"
|
37 |
"We recommend consulting with a lawyer when deciding what information to "
|
38 |
"disclose on your privacy policy."
|
39 |
msgstr ""
|
40 |
+
"Questo esempio include gli elementi di base sulla raccolta dei dati "
|
41 |
+
"personali, la memorizzazione e la condivisione, nonché su chi è autorizzato "
|
42 |
+
"ad accedere a tali dati. In base alle impostazioni abilitate e ai moduli di "
|
43 |
+
"estensione aggiuntivi utilizzati, le informazioni specifiche condivise dal "
|
44 |
+
"nostro negozio possono variare. Ti consigliamo di consultare un legale al "
|
45 |
+
"momento di decidere quali informazioni divulgare nell'informativa sulla "
|
46 |
+
"privacy."
|
47 |
|
48 |
#: lib/privacy/yit-privacy.php:63
|
49 |
msgctxt "Privacy Policy Content"
|
50 |
msgid "What we collect and store"
|
51 |
+
msgstr "Cosa raccogliamo e salviamo"
|
52 |
|
53 |
#: lib/privacy/yit-privacy.php:66
|
54 |
msgctxt "Privacy Policy Content"
|
55 |
msgid "Who on our team has access"
|
56 |
+
msgstr "Persone del nostro gruppo di lavoro che hanno accesso"
|
57 |
|
58 |
#: lib/privacy/yit-privacy.php:69
|
59 |
msgctxt "Privacy Policy Content"
|
60 |
msgid "What we share with others"
|
61 |
+
msgstr "Cosa condividiamo con gli altri"
|
62 |
|
63 |
#: lib/privacy/yit-privacy.php:72
|
64 |
msgctxt "Privacy Policy Content"
|
65 |
msgid "Payments"
|
66 |
+
msgstr "Pagamenti"
|
67 |
|
68 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
69 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
269 |
msgid "Upload multiple files"
|
270 |
msgstr "Carica file multipli"
|
271 |
|
272 |
+
#: lib/yit-plugin-panel-wc.php:384
|
273 |
msgid "The changes you have made will be lost if you leave this page."
|
274 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
275 |
|
277 |
msgid "Plugin Settings"
|
278 |
msgstr "Impostazioni plugin"
|
279 |
|
280 |
+
#: lib/yit-plugin-panel.php:335 lib/yit-plugin-panel.php:338
|
281 |
msgid "How to install premium version"
|
282 |
msgstr "Come installare la versione premium"
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:156
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
286 |
msgid "Save Changes"
|
287 |
msgstr "Salva modifiche"
|
288 |
|
289 |
+
#: lib/yit-plugin-panel.php:392 lib/yit-plugin-subpanel.php:159
|
290 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
291 |
msgid ""
|
292 |
"If you continue with this action, you will reset all options in this page."
|
294 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
295 |
"reimpostate."
|
296 |
|
297 |
+
#: lib/yit-plugin-panel.php:394 lib/yit-plugin-subpanel.php:161
|
298 |
msgid "Reset to default"
|
299 |
msgstr "Ripristina configurazione predefinita"
|
300 |
|
301 |
+
#: lib/yit-plugin-panel.php:395 lib/yit-plugin-subpanel.php:162
|
302 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
303 |
msgid "Are you sure?"
|
304 |
msgstr "Sei sicuro?"
|
305 |
|
306 |
+
#: lib/yit-plugin-panel.php:529
|
307 |
msgid ""
|
308 |
"The element you have entered already exists. Please, enter another name."
|
309 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
310 |
|
311 |
+
#: lib/yit-plugin-panel.php:530
|
312 |
msgid "Settings saved"
|
313 |
msgstr "Impostazioni salvate"
|
314 |
|
315 |
+
#: lib/yit-plugin-panel.php:531
|
316 |
msgid "Settings reset"
|
317 |
msgstr "Impostazioni azzerate"
|
318 |
|
319 |
+
#: lib/yit-plugin-panel.php:532
|
320 |
msgid "Element deleted correctly."
|
321 |
msgstr "Elemento rimosso correttamente."
|
322 |
|
323 |
+
#: lib/yit-plugin-panel.php:533 lib/yit-plugin-panel.php:534
|
324 |
msgid "Element updated correctly."
|
325 |
msgstr "Elemento aggiornato correttamente."
|
326 |
|
327 |
+
#: lib/yit-plugin-panel.php:535
|
328 |
msgid "Database imported correctly."
|
329 |
msgstr "Database importato correttamente."
|
330 |
|
331 |
+
#: lib/yit-plugin-panel.php:536
|
332 |
msgid "An error has occurred during import. Please try again."
|
333 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
334 |
|
335 |
+
#: lib/yit-plugin-panel.php:537
|
336 |
msgid "The added file is not valid."
|
337 |
msgstr "Il file aggiunto non è valido."
|
338 |
|
339 |
+
#: lib/yit-plugin-panel.php:538
|
340 |
msgid "Sorry, import is disabled."
|
341 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
342 |
|
343 |
+
#: lib/yit-plugin-panel.php:539
|
344 |
msgid "Sorting successful."
|
345 |
msgstr "Ordinamento effettuato con successo."
|
346 |
|
349 |
msgstr "Plugin attivati"
|
350 |
|
351 |
#: lib/yit-pointers.php:71
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
msgid ""
|
353 |
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
354 |
" Plugin customization settings will be "
|
355 |
"available as a new entry in YITH Plugins menu."
|
356 |
msgstr ""
|
357 |
+
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu YITH "
|
358 |
+
"Plugins.\n"
|
359 |
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu "
|
360 |
+
"YITH Plugins."
|
361 |
|
362 |
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
363 |
msgid "Discover all our plugins available on:"
|
372 |
msgstr "Plugin aggiornati"
|
373 |
|
374 |
#: lib/yit-pointers.php:85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
msgid ""
|
376 |
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
377 |
"menu.\n"
|
383 |
" will be moved from previous location to "
|
384 |
"YITH Plugins tab."
|
385 |
msgstr ""
|
386 |
+
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu YITH "
|
387 |
+
"Plugins.\n"
|
388 |
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in "
|
389 |
"questo menu.\n"
|
390 |
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio "
|
391 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
392 |
+
"saranno trasferite nella scheda YITH Plugins."
|
393 |
|
394 |
+
#: lib/yit-upgrade.php:95
|
|
|
|
|
395 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
396 |
+
msgstr "Si è verificato un errore inaspettato, riprova più tardi. Grazie!"
|
397 |
|
398 |
+
#: lib/yit-upgrade.php:190
|
399 |
msgid "There is a new version of %plugin_name% available."
|
400 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
401 |
|
402 |
+
#: lib/yit-upgrade.php:191
|
403 |
msgid "View version %latest% details."
|
404 |
msgstr "Visualizza i dettagli della versione %latest%."
|
405 |
|
406 |
+
#: lib/yit-upgrade.php:192
|
407 |
msgid "Automatic update is unavailable for this plugin,"
|
408 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
409 |
|
410 |
+
#: lib/yit-upgrade.php:193
|
411 |
msgid ""
|
412 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
413 |
msgstr ""
|
414 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
415 |
"%plugin_name%."
|
416 |
|
417 |
+
#: lib/yit-upgrade.php:194
|
418 |
msgid "Update now."
|
419 |
msgstr "Aggiorna adesso."
|
420 |
|
421 |
+
#: lib/yit-upgrade.php:295
|
|
|
|
|
422 |
msgid "YITH Repository"
|
423 |
+
msgstr "Repository YITH"
|
424 |
|
425 |
+
#: lib/yit-upgrade.php:329
|
426 |
msgid "Invalid URL Provided."
|
427 |
msgstr "L'URL inserito non è valido."
|
428 |
|
429 |
+
#: lib/yit-upgrade.php:342
|
430 |
msgid "Could not create Temporary file."
|
431 |
msgstr "Non è stato possibile creare il file temporaneo."
|
432 |
|
433 |
+
#: lib/yit-upgrade.php:502
|
434 |
+
#, php-format
|
|
|
|
|
|
|
|
|
435 |
msgid ""
|
436 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
437 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
441 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
442 |
"%4$s</a>."
|
443 |
|
444 |
+
#: lib/yit-upgrade.php:504
|
445 |
+
#, php-format
|
|
|
|
|
|
|
|
|
|
|
446 |
msgid ""
|
447 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
448 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
449 |
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
450 |
"the network to benefit from automatic updates.</em>"
|
451 |
msgstr ""
|
452 |
+
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
453 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
454 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
455 |
"necessario attivare il plugin su un solo sito.</em>"
|
456 |
|
457 |
+
#: lib/yit-upgrade.php:506
|
458 |
+
#, php-format
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
msgid ""
|
460 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
461 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
466 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
467 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
468 |
"%4$s</a>. <em>Gli aggiornamenti automatici non sono disponibili per questo "
|
469 |
+
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attiva</a> "
|
470 |
+
"la tua copia di %6s.</em>"
|
471 |
+
|
472 |
+
#: lib/yit-upgrade.php:508
|
473 |
+
#, php-format
|
|
|
|
|
|
|
|
|
474 |
msgid ""
|
475 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
476 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
480 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
481 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
482 |
|
483 |
+
#: lib/yit-upgrade.php:581
|
484 |
msgid "You can't update the plugins for this site."
|
485 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
486 |
|
487 |
+
#: lib/yit-upgrade.php:585
|
488 |
msgid ""
|
489 |
"You do not have sufficient permissions to update the plugins for this site."
|
490 |
msgstr ""
|
491 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
492 |
"in questo sito."
|
493 |
|
494 |
+
#: lib/yit-upgrade.php:592
|
495 |
msgid "Update Plugin"
|
496 |
msgstr "Aggiorna plugin"
|
497 |
|
498 |
+
#: licence/lib/yit-licence.php:186
|
499 |
#, php-format
|
500 |
msgctxt "%s = field name"
|
501 |
msgid "%s field cannot be empty"
|
502 |
msgstr "Il campo %s non può essere vuoto"
|
503 |
|
504 |
+
#: licence/lib/yit-licence.php:187
|
505 |
#, php-format
|
506 |
msgid "%s and %s fields cannot be empty"
|
507 |
msgstr "I campi %s e %s non possono essere vuoti"
|
508 |
|
509 |
+
#: licence/lib/yit-licence.php:188
|
510 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
511 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
512 |
|
513 |
+
#: licence/lib/yit-licence.php:189
|
514 |
+
#: licence/templates/panel/activation/activation-panel.php:92
|
515 |
+
#: licence/templates/panel/activation/activation-panel.php:170
|
516 |
+
#: licence/templates/panel/activation/activation-panel.php:201
|
517 |
msgid "Email"
|
518 |
msgstr "Email"
|
519 |
|
520 |
+
#: licence/lib/yit-licence.php:190
|
521 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
522 |
+
#: licence/templates/panel/activation/activation-panel.php:171
|
523 |
+
#: licence/templates/panel/activation/activation-panel.php:202
|
524 |
msgid "License Key"
|
525 |
msgstr "Chiave di licenza"
|
526 |
|
527 |
+
#: licence/lib/yit-licence.php:191
|
528 |
msgid "Are you sure you want to deactivate the license for current site?"
|
529 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
530 |
|
531 |
+
#: licence/lib/yit-licence.php:685
|
532 |
msgid "Invalid Request"
|
533 |
msgstr "Richiesta non valida"
|
534 |
|
535 |
+
#: licence/lib/yit-licence.php:686
|
536 |
msgid "Invalid license key"
|
537 |
msgstr "Chiave di licenza non valida"
|
538 |
|
539 |
+
#: licence/lib/yit-licence.php:687
|
540 |
msgid "Software has been deactivated"
|
541 |
msgstr "Il software è stato disattivato"
|
542 |
|
543 |
+
#: licence/lib/yit-licence.php:688
|
544 |
msgid "Maximum number of activations exceeded"
|
545 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
546 |
|
547 |
+
#: licence/lib/yit-licence.php:689
|
548 |
msgid "Invalid instance ID"
|
549 |
msgstr "Istanza ID non valida"
|
550 |
|
551 |
+
#: licence/lib/yit-licence.php:690
|
552 |
msgid "Invalid security key"
|
553 |
msgstr "Chiave di sicurezza non valida"
|
554 |
|
555 |
+
#: licence/lib/yit-licence.php:691
|
556 |
msgid "License key has expired"
|
557 |
msgstr "La chiave di licenza è scaduta"
|
558 |
|
559 |
+
#: licence/lib/yit-licence.php:692
|
560 |
msgid "License key has been banned"
|
561 |
msgstr "La chiave di licenza è stata bloccata"
|
562 |
|
563 |
+
#: licence/lib/yit-licence.php:693
|
564 |
msgid "Current product is not included in your YITH Club Subscription key"
|
565 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
566 |
|
567 |
+
#: licence/lib/yit-licence.php:694
|
568 |
msgid "Great"
|
569 |
msgstr "Grande!"
|
570 |
|
571 |
+
#: licence/lib/yit-licence.php:694
|
572 |
msgid "License successfully activated"
|
573 |
msgstr "Licenza attivata con successo"
|
574 |
|
575 |
+
#: licence/lib/yit-licence.php:695
|
576 |
msgid "License key deactivated for website"
|
577 |
msgstr "Chiave di licenza disattivata per il sito web"
|
578 |
|
596 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
597 |
|
598 |
#: licence/lib/yit-theme-licence.php:163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
599 |
msgid ""
|
600 |
"If you have purchased one of our products before 27 January 2015, you can "
|
601 |
"benefit from support and updates (the services offered with the license)\n"
|
616 |
"Dopo il 27 gennaio 2016, invece, se vorrai usufruire di supporto e "
|
617 |
"aggiornamenti dovrai acquistare una nuova licenza e attivarla con il codice "
|
618 |
"che ti verrà\n"
|
619 |
+
"fornito e che puoi trovare nella tua area riservata su YITH, nella sezione "
|
620 |
+
"\"My licenses\"."
|
621 |
|
622 |
+
#: licence/templates/panel/activation/activation-panel.php:24
|
|
|
|
|
623 |
msgid "YITH License Activation"
|
624 |
+
msgstr "Attivazione licenza YITH"
|
625 |
|
626 |
+
#: licence/templates/panel/activation/activation-panel.php:28
|
627 |
msgid ""
|
628 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
629 |
"information concerning your products."
|
631 |
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
632 |
"informazioni dei tuoi prodotti."
|
633 |
|
634 |
+
#: licence/templates/panel/activation/activation-panel.php:30
|
635 |
msgid "Update license information"
|
636 |
msgstr "Aggiorna informazioni licenza"
|
637 |
|
638 |
+
#: licence/templates/panel/activation/activation-panel.php:43
|
639 |
msgid "Product to activate"
|
640 |
msgid_plural "Products to activate"
|
641 |
msgstr[0] "Prodotto da attivare"
|
642 |
msgstr[1] "Prodotti da attivare"
|
643 |
|
644 |
+
#: licence/templates/panel/activation/activation-panel.php:65
|
645 |
msgid "Activate"
|
646 |
msgstr "Attiva"
|
647 |
|
648 |
+
#: licence/templates/panel/activation/activation-panel.php:84
|
649 |
msgid "Activated"
|
650 |
msgstr "Attivato"
|
651 |
|
652 |
+
#: licence/templates/panel/activation/activation-panel.php:90
|
653 |
+
#: licence/templates/panel/activation/activation-panel.php:168
|
654 |
+
#: licence/templates/panel/activation/activation-panel.php:198
|
655 |
msgid "Product Name"
|
656 |
msgstr "Nome prodotto"
|
657 |
|
658 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
659 |
+
#: licence/templates/panel/activation/activation-panel.php:205
|
660 |
msgid "Expires"
|
661 |
msgstr "Scadenza"
|
662 |
|
663 |
+
#: licence/templates/panel/activation/activation-panel.php:99
|
664 |
msgid "Remaining"
|
665 |
msgstr "Tempo rimanente"
|
666 |
|
667 |
+
#: licence/templates/panel/activation/activation-panel.php:101
|
668 |
msgid "Club Subscription"
|
669 |
msgstr "Club Subscription"
|
670 |
|
671 |
+
#: licence/templates/panel/activation/activation-panel.php:105
|
672 |
msgid "License Actions"
|
673 |
msgstr "Azioni licenza"
|
674 |
|
675 |
+
#: licence/templates/panel/activation/activation-panel.php:130
|
676 |
#, php-format
|
677 |
msgid "%1s out of %2s"
|
678 |
msgstr "%1s di %2s"
|
679 |
|
680 |
+
#: licence/templates/panel/activation/activation-panel.php:146
|
681 |
msgid "Deactivate"
|
682 |
msgstr "Disattiva"
|
683 |
|
684 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
685 |
+
#: licence/templates/panel/activation/activation-panel.php:208
|
686 |
msgid "Renew"
|
687 |
msgstr "Rinnova"
|
688 |
|
689 |
+
#: licence/templates/panel/activation/activation-panel.php:164
|
690 |
msgid "Banned"
|
691 |
msgstr "Bloccato"
|
692 |
|
693 |
+
#: licence/templates/panel/activation/activation-panel.php:194
|
694 |
msgid "Expired"
|
695 |
msgstr "Non più valido"
|
696 |
|
697 |
+
#: licence/templates/panel/activation/activation-panel.php:230
|
698 |
msgid "Order again"
|
699 |
msgstr "Acquista di nuovo"
|
700 |
|
701 |
+
#: licence/templates/panel/activation/activation-panel.php:232
|
702 |
msgid "Renew license"
|
703 |
msgstr "Rinnova la licenza"
|
704 |
|
705 |
#: templates/fields/ajax-posts.php:57
|
|
|
|
|
706 |
msgid "Search Posts"
|
707 |
+
msgstr "Cerca articoli"
|
708 |
|
709 |
#: templates/fields/ajax-products.php:16
|
|
|
|
|
710 |
msgid "Search Product"
|
711 |
msgstr "Cerca un prodotto"
|
712 |
|
739 |
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
740 |
|
741 |
#: templates/fields/icons.php:58
|
|
|
|
|
742 |
msgid "Set Default"
|
743 |
msgstr "Ripristina impostazioni iniziali"
|
744 |
|
763 |
msgstr "Rimuovi"
|
764 |
|
765 |
#: templates/fields/select-buttons.php:26
|
|
|
|
|
766 |
msgid "Select All"
|
767 |
+
msgstr "Seleziona tutto"
|
768 |
|
769 |
#: templates/fields/select-buttons.php:33
|
770 |
msgid "Deselect All"
|
771 |
+
msgstr "Deseleziona tutto"
|
772 |
|
773 |
#: templates/fields/sidebars.php:22
|
774 |
msgid "Left sidebar"
|
821 |
msgid "Reset Defaults"
|
822 |
msgstr "Ripristina impostazioni iniziali"
|
823 |
|
824 |
+
#: yit-plugin.php:77
|
825 |
msgctxt "Plugin Row Meta"
|
826 |
msgid "Live Demo"
|
827 |
+
msgstr "Live Demo"
|
828 |
|
829 |
+
#: yit-plugin.php:82
|
830 |
msgctxt "Plugin Row Meta"
|
831 |
msgid "Documentation"
|
832 |
+
msgstr "Documentazione"
|
833 |
|
834 |
+
#: yit-plugin.php:87
|
835 |
msgctxt "Plugin Row Meta"
|
836 |
msgid "Support"
|
837 |
+
msgstr "Assistenza"
|
838 |
|
839 |
+
#: yit-plugin.php:92
|
|
|
|
|
840 |
msgctxt "Plugin Row Meta"
|
841 |
msgid "Premium version"
|
842 |
+
msgstr "Versione premium"
|
843 |
|
844 |
+
#: yit-plugin.php:187
|
|
|
|
|
845 |
msgctxt "Action links"
|
846 |
msgid "Settings"
|
847 |
msgstr "Impostazioni"
|
848 |
|
849 |
+
#: yit-plugin.php:191
|
|
|
|
|
850 |
msgid "License"
|
851 |
msgstr "Chiave di licenza"
|
852 |
|
plugin-fw/lib/promo/yith-promo.php
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This file belongs to the YIT Plugin Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*/
|
10 |
+
|
11 |
+
if( apply_filters( 'yith_plugin_fw_notice', true ) ){
|
12 |
+
add_action( 'admin_notices', 'yith_plugin_fw_promo_notices', 15 );
|
13 |
+
add_action( 'admin_enqueue_scripts', 'yith_plugin_fw_notice_dismiss', 20 );
|
14 |
+
|
15 |
+
if( ! function_exists( 'yith_plugin_fw_promo_notices' ) ){
|
16 |
+
function yith_plugin_fw_promo_notices(){
|
17 |
+
$base_url = apply_filters( 'yith_plugin_fw_promo_base_url', 'https://update.yithemes.com/promo/' );;
|
18 |
+
$xml = apply_filters( 'yith_plugin_fw_promo_xml_url', $base_url . 'yith-promo.xml' );
|
19 |
+
$transient = "yith_promo_message";
|
20 |
+
$remote_data = get_site_transient( $transient );
|
21 |
+
$regenerate_promo_transient = isset( $_GET['yith_regenerate_promo_transient'] ) && 'yes' == $_GET['yith_regenerate_promo_transient'] ? $_GET['yith_regenerate_promo_transient'] : '';
|
22 |
+
$promo_data = false;
|
23 |
+
$create_transient = false;
|
24 |
+
|
25 |
+
if( false === $remote_data || apply_filters( 'yith_plugin_fw_force_regenerate_promo_transient', false ) || 'yes' == $regenerate_promo_transient ){
|
26 |
+
$remote_data = wp_remote_get( $xml );
|
27 |
+
$create_transient = true;
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( ! is_wp_error( $remote_data ) && isset( $remote_data['response']['code'] ) && '200' == $remote_data['response']['code'] ) {
|
31 |
+
$promo_data = @simplexml_load_string( $remote_data['body'] );
|
32 |
+
|
33 |
+
if( true === $create_transient ){
|
34 |
+
$xml_expiry_date = ! empty( $promo_data->expiry_date ) ? $promo_data->expiry_date : '';
|
35 |
+
//Set Site Transient
|
36 |
+
set_site_transient( $transient, $remote_data, yith_plugin_fw_get_promo_transient_expiry_date( $xml_expiry_date ) );
|
37 |
+
}
|
38 |
+
|
39 |
+
if ( $promo_data && ! empty( $promo_data->promo ) ) {
|
40 |
+
$now = strtotime( current_time( 'Y-m-d' ), 1 );
|
41 |
+
foreach ($promo_data as $promo ){
|
42 |
+
$start_date = isset( $promo->start_date ) ? $promo->start_date : '';
|
43 |
+
$end_date = isset( $promo->end_date ) ? $promo->end_date : '';
|
44 |
+
|
45 |
+
if( ! empty( $start_date ) && ! empty( $end_date ) ){
|
46 |
+
$start_date = strtotime( $start_date );
|
47 |
+
$end_date = strtotime( $end_date );
|
48 |
+
|
49 |
+
if( $end_date >= $start_date && $now >= $start_date && $now <= $end_date ){
|
50 |
+
//is valid promo
|
51 |
+
$title = isset( $promo->title ) ? $promo->title : '';
|
52 |
+
$description = isset( $promo->description ) ? $promo->description : '';
|
53 |
+
$url = isset( $promo->link->url ) ? $promo->link->url : '';
|
54 |
+
$url_label = isset( $promo->link->label ) ? $promo->link->label : '';
|
55 |
+
$border_color = isset( $promo->style->border_color ) ? $promo->style->border_color : '';
|
56 |
+
$background_color = isset( $promo->style->background_color ) ? $promo->style->background_color : '';
|
57 |
+
$promo_id = isset( $promo->promo_id ) ? $promo->promo_id : '';
|
58 |
+
$banner = isset( $promo->banner ) ? $promo->banner : '';
|
59 |
+
$style = $link = '';
|
60 |
+
$show_notice = false;
|
61 |
+
|
62 |
+
if( ! empty( $border_color ) ){
|
63 |
+
$style .= "border-left-color: {$border_color};";
|
64 |
+
}
|
65 |
+
|
66 |
+
if( ! empty( $background_color ) ){
|
67 |
+
$style .= "background-color: {$background_color};";
|
68 |
+
}
|
69 |
+
|
70 |
+
if( ! empty( $title ) ) {
|
71 |
+
$promo_id .= $title;
|
72 |
+
$title = sprintf( '<strong>%s</strong>: ', $title );
|
73 |
+
$show_notice = true;
|
74 |
+
}
|
75 |
+
|
76 |
+
if( ! empty( $description ) ) {
|
77 |
+
$promo_id .= $description;
|
78 |
+
$description = sprintf( '%s', $description );
|
79 |
+
$show_notice = true;
|
80 |
+
}
|
81 |
+
|
82 |
+
if( ! empty( $url ) && ! empty( $url_label )) {
|
83 |
+
$promo_id .= $url . $url_label;
|
84 |
+
$link = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $url_label );
|
85 |
+
$show_notice = true;
|
86 |
+
}
|
87 |
+
|
88 |
+
if( ! empty( $banner ) ){
|
89 |
+
$banner = sprintf( '<img src="%s" class="yith-promo-banner-image">', $base_url . $banner );
|
90 |
+
|
91 |
+
if( ! empty( $url ) ){
|
92 |
+
$banner = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $banner);
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
$unique_promo_id = "yith-notice-" . md5 ( $promo_id );
|
97 |
+
|
98 |
+
if( ! empty( $_COOKIE[ 'hide_' . $unique_promo_id ] ) && 'yes' == $_COOKIE[ 'hide_' . $unique_promo_id ] ){
|
99 |
+
$show_notice = false;
|
100 |
+
}
|
101 |
+
|
102 |
+
if ( true === $show_notice ) :
|
103 |
+
?>
|
104 |
+
<div id="<?php echo $unique_promo_id; ?>" class="yith-notice-is-dismissible notice notice-yith notice-alt is-dismissible" style="<?php echo $style; ?>" data-expiry= <?php echo $promo->end_date; ?>>
|
105 |
+
<p>
|
106 |
+
<?php if( ! empty( $banner ) ) { printf( '%s', $banner ); } ?>
|
107 |
+
<?php printf( "%s %s %s", $title, $description, $link ); ?>
|
108 |
+
</p>
|
109 |
+
</div>
|
110 |
+
<?php endif;
|
111 |
+
}
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|
116 |
+
}
|
117 |
+
}
|
118 |
+
|
119 |
+
if( ! function_exists( 'yith_plugin_fw_notice_dismiss' ) ){
|
120 |
+
function yith_plugin_fw_notice_dismiss(){
|
121 |
+
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
122 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
123 |
+
wp_register_script( 'yith-promo', $script_path . '/assets/js/yith-promo' . $suffix . '.js', array( 'jquery' ), '1.0.0', true );
|
124 |
+
wp_enqueue_script( 'yith-promo' );
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
if( ! function_exists( 'yith_plugin_fw_get_promo_transient_expiry_date' ) ){
|
129 |
+
function yith_plugin_fw_get_promo_transient_expiry_date( $expiry_date ) {
|
130 |
+
$xml_expiry_date = ! empty( $expiry_date ) ? $expiry_date : '+6 hours';
|
131 |
+
$current = strtotime( current_time( 'Y-m-d H:i:s', 1 ) );
|
132 |
+
$expiry_date = strtotime( $xml_expiry_date, $current );
|
133 |
+
|
134 |
+
if( $expiry_date <= $current ){
|
135 |
+
$expiry_date = strtotime( '+24 hours', $current );
|
136 |
+
}
|
137 |
+
|
138 |
+
return $expiry_date;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
}
|
plugin-fw/lib/yit-ajax.php
CHANGED
@@ -17,7 +17,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
|
|
17 |
* YIT Ajax
|
18 |
*
|
19 |
* @class YIT_Ajax
|
20 |
-
* @package
|
21 |
* @since 1.0
|
22 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
23 |
*/
|
17 |
* YIT Ajax
|
18 |
*
|
19 |
* @class YIT_Ajax
|
20 |
+
* @package YITH
|
21 |
* @since 1.0
|
22 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
23 |
*/
|
plugin-fw/lib/yit-assets.php
CHANGED
@@ -15,7 +15,7 @@ if ( !class_exists( 'YIT_Assets' ) ) {
|
|
15 |
* YIT Assets
|
16 |
*
|
17 |
* @class YIT_Assets
|
18 |
-
* @package
|
19 |
* @since 3.0.0
|
20 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
21 |
*/
|
15 |
* YIT Assets
|
16 |
*
|
17 |
* @class YIT_Assets
|
18 |
+
* @package YITH
|
19 |
* @since 3.0.0
|
20 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
21 |
*/
|
plugin-fw/lib/yit-cpt-unlimited.php
CHANGED
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {exit('Direct access forbidden.');
|
|
14 |
* Manage the custom post types as Portfolio, Contact Forms and similar (called CPTU)
|
15 |
*
|
16 |
* @class YIT_CPT_Unlimited
|
17 |
-
* @package
|
18 |
* @since 2.0.0
|
19 |
* @author Your Inspiration Themes
|
20 |
*
|
14 |
* Manage the custom post types as Portfolio, Contact Forms and similar (called CPTU)
|
15 |
*
|
16 |
* @class YIT_CPT_Unlimited
|
17 |
+
* @package YITH
|
18 |
* @since 2.0.0
|
19 |
* @author Your Inspiration Themes
|
20 |
*
|
plugin-fw/lib/yit-debug.php
CHANGED
@@ -17,7 +17,7 @@ if ( !class_exists( 'YITH_Debug' ) ) {
|
|
17 |
* manages debug
|
18 |
*
|
19 |
* @class YITH_Debug
|
20 |
-
* @package
|
21 |
* @since 1.0.0
|
22 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
23 |
*
|
17 |
* manages debug
|
18 |
*
|
19 |
* @class YITH_Debug
|
20 |
+
* @package YITH
|
21 |
* @since 1.0.0
|
22 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
23 |
*
|
plugin-fw/lib/yit-icons.php
CHANGED
@@ -20,7 +20,7 @@ if ( !class_exists( 'YIT_Icons' ) ) {
|
|
20 |
* Class to manage icons
|
21 |
*
|
22 |
* @class YIT_Icons
|
23 |
-
* @package
|
24 |
* @since 1.0.0
|
25 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
26 |
*
|
20 |
* Class to manage icons
|
21 |
*
|
22 |
* @class YIT_Icons
|
23 |
+
* @package YITH
|
24 |
* @since 1.0.0
|
25 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
26 |
*
|
plugin-fw/lib/yit-metabox.php
CHANGED
@@ -43,7 +43,7 @@ if ( !class_exists( 'YIT_Metabox' ) ) {
|
|
43 |
* </code>
|
44 |
*
|
45 |
* @class YIT_Metaboxes
|
46 |
-
* @package
|
47 |
* @since 1.0.0
|
48 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.com>
|
49 |
*
|
43 |
* </code>
|
44 |
*
|
45 |
* @class YIT_Metaboxes
|
46 |
+
* @package YITH
|
47 |
* @since 1.0.0
|
48 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.com>
|
49 |
*
|
plugin-fw/lib/yit-plugin-panel-wc.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
* @author Antonio La Rocca <antonio.larocca@yithemes.com>
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
* @author Antonio La Rocca <antonio.larocca@yithemes.com>
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Your Inspiration Themes
|
25 |
*/
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Your Inspiration Themes
|
25 |
*/
|
plugin-fw/lib/yit-plugin-subpanel.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_SubPanel' ) ) {
|
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Your Inspiration Themes
|
25 |
*/
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Panel
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Your Inspiration Themes
|
25 |
*/
|
plugin-fw/lib/yit-pointers.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
15 |
*
|
16 |
*
|
17 |
* @class yit-pointers
|
18 |
-
* @package
|
19 |
* @since Version 2.0.0
|
20 |
* @author Your Inspiration Themes
|
21 |
*
|
@@ -27,7 +27,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
27 |
* Initializes the new feature pointers.
|
28 |
*
|
29 |
* @class YIT_Pointers
|
30 |
-
* @package
|
31 |
* @since 1.0
|
32 |
* @author Your Inspiration Themes
|
33 |
* @see WP_Internal_Pointers
|
@@ -65,7 +65,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
65 |
$this->_default_pointer['plugins'] = array(
|
66 |
'screen_id' => 'plugins',
|
67 |
'options' => array(
|
68 |
-
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">
|
69 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
70 |
__( 'Plugins Activated', 'yith-plugin-fw' ),
|
71 |
__( 'From now on, you can find all plugin options in YITH Plugins menu.
|
@@ -79,7 +79,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
79 |
$this->_default_pointer['update'] = array(
|
80 |
'screen_id' => 'update',
|
81 |
'options' => array(
|
82 |
-
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">
|
83 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
84 |
__( 'Plugins Upgraded', 'yith-plugin-fw' ),
|
85 |
__( 'From now on, you can find the option panel of YITH plugins in YITH Plugins menu.
|
15 |
*
|
16 |
*
|
17 |
* @class yit-pointers
|
18 |
+
* @package YITH
|
19 |
* @since Version 2.0.0
|
20 |
* @author Your Inspiration Themes
|
21 |
*
|
27 |
* Initializes the new feature pointers.
|
28 |
*
|
29 |
* @class YIT_Pointers
|
30 |
+
* @package YITH
|
31 |
* @since 1.0
|
32 |
* @author Your Inspiration Themes
|
33 |
* @see WP_Internal_Pointers
|
65 |
$this->_default_pointer['plugins'] = array(
|
66 |
'screen_id' => 'plugins',
|
67 |
'options' => array(
|
68 |
+
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">yithemes.com</a> %s
|
69 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
70 |
__( 'Plugins Activated', 'yith-plugin-fw' ),
|
71 |
__( 'From now on, you can find all plugin options in YITH Plugins menu.
|
79 |
$this->_default_pointer['update'] = array(
|
80 |
'screen_id' => 'update',
|
81 |
'options' => array(
|
82 |
+
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">yithemes.com</a> %s
|
83 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
84 |
__( 'Plugins Upgraded', 'yith-plugin-fw' ),
|
85 |
__( 'From now on, you can find the option panel of YITH plugins in YITH Plugins menu.
|
plugin-fw/lib/yit-upgrade.php
CHANGED
@@ -18,7 +18,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
18 |
* Notify and Update plugin
|
19 |
*
|
20 |
* @class YIT_Upgrade
|
21 |
-
* @package
|
22 |
* @since 1.0
|
23 |
* @author Your Inspiration Themes
|
24 |
* @see WP_Updater Class
|
@@ -431,12 +431,25 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
431 |
|
432 |
$package = YIT_Plugin_Licence()->check( $init ) ? $this->_package_url : null;
|
433 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
$obj = new stdClass();
|
435 |
$obj->slug = (string) $init;
|
436 |
$obj->new_version = (string) $plugin_remote_info->latest;
|
437 |
$obj->changelog = (string) $plugin_remote_info->changelog;
|
438 |
$obj->package = $package;
|
439 |
$obj->plugin = $init;
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
$transient->response[ $init ] = $obj;
|
441 |
}
|
442 |
|
@@ -620,12 +633,14 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
620 |
//Get license for YITH Plugins
|
621 |
$enabled_license = YIT_Plugin_Licence()->get_licence();
|
622 |
|
623 |
-
if( isset( $enabled_license[ $slug ]['
|
624 |
-
|
625 |
-
|
|
|
626 |
|
627 |
-
|
628 |
-
|
|
|
629 |
}
|
630 |
}
|
631 |
|
18 |
* Notify and Update plugin
|
19 |
*
|
20 |
* @class YIT_Upgrade
|
21 |
+
* @package YITH
|
22 |
* @since 1.0
|
23 |
* @author Your Inspiration Themes
|
24 |
* @see WP_Updater Class
|
431 |
|
432 |
$package = YIT_Plugin_Licence()->check( $init ) ? $this->_package_url : null;
|
433 |
|
434 |
+
$tested_up_to = (string) str_replace( '.x', '', $plugin_remote_info->{"up-to"} );
|
435 |
+
$tested_up_to = preg_replace( '/-.*$/', '', $tested_up_to );
|
436 |
+
$wp_version = preg_replace( '/-.*$/', '', get_bloginfo( 'version' ) );
|
437 |
+
|
438 |
+
if( strpos( $wp_version, $tested_up_to ) !== false ){
|
439 |
+
$tested_up_to = $wp_version;
|
440 |
+
}
|
441 |
$obj = new stdClass();
|
442 |
$obj->slug = (string) $init;
|
443 |
$obj->new_version = (string) $plugin_remote_info->latest;
|
444 |
$obj->changelog = (string) $plugin_remote_info->changelog;
|
445 |
$obj->package = $package;
|
446 |
$obj->plugin = $init;
|
447 |
+
$obj->tested = $tested_up_to;
|
448 |
+
|
449 |
+
if( ! empty( $plugin_remote_info->icons ) ){
|
450 |
+
$obj->icons = (array) $plugin_remote_info->icons;
|
451 |
+
}
|
452 |
+
|
453 |
$transient->response[ $init ] = $obj;
|
454 |
}
|
455 |
|
633 |
//Get license for YITH Plugins
|
634 |
$enabled_license = YIT_Plugin_Licence()->get_licence();
|
635 |
|
636 |
+
if( isset( $enabled_license[ $slug ]['activated'] ) && false !== $enabled_license[ $slug ]['activated'] ){
|
637 |
+
if( isset( $enabled_license[ $slug ]['licence_key'] ) ){
|
638 |
+
$license = $enabled_license[ $slug ]['licence_key'];
|
639 |
+
}
|
640 |
|
641 |
+
if( isset( $enabled_license[ $slug ]['is_membership'] ) ){
|
642 |
+
$is_membership_license = $enabled_license[ $slug ]['is_membership'];
|
643 |
+
}
|
644 |
}
|
645 |
}
|
646 |
|
plugin-fw/lib/yit-video.php
CHANGED
@@ -20,7 +20,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
20 |
* Class to manage the video from youtube and vimeo or other services
|
21 |
*
|
22 |
* @class YIT_Video
|
23 |
-
* @package
|
24 |
* @since 1.0.0
|
25 |
* @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
|
26 |
*
|
20 |
* Class to manage the video from youtube and vimeo or other services
|
21 |
*
|
22 |
* @class YIT_Video
|
23 |
+
* @package YITH
|
24 |
* @since 1.0.0
|
25 |
* @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
|
26 |
*
|
plugin-fw/licence/lib/yit-licence.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Licence' ) ) {
|
|
19 |
* Setting Page to Manage Products
|
20 |
*
|
21 |
* @class YIT_Licence
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
19 |
* Setting Page to Manage Products
|
20 |
*
|
21 |
* @class YIT_Licence
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
plugin-fw/licence/lib/yit-plugin-licence.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Licence
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Plugin_Licence
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
plugin-fw/licence/lib/yit-theme-licence.php
CHANGED
@@ -19,7 +19,7 @@ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
|
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Theme_Licence
|
22 |
-
* @package
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
19 |
* Setting Page to Manage Plugins
|
20 |
*
|
21 |
* @class YIT_Theme_Licence
|
22 |
+
* @package YITH
|
23 |
* @since 1.0
|
24 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
25 |
*/
|
plugin-fw/licence/templates/panel/activation/activation-panel.php
CHANGED
@@ -56,7 +56,7 @@ $debug = isset( $_REQUEST[ 'yith-license-debug' ] ) ? $_
|
|
56 |
<?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
|
57 |
</td>
|
58 |
<td>
|
59 |
-
<input type="email" name="email" placeholder="Your email on
|
60 |
</td>
|
61 |
<td>
|
62 |
<input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
|
56 |
<?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
|
57 |
</td>
|
58 |
<td>
|
59 |
+
<input type="email" name="email" placeholder="Your email on yithemes.com" value="" class="user-email"/>
|
60 |
</td>
|
61 |
<td>
|
62 |
<input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
|
plugin-fw/templates/metaboxes/types/icon-list.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
/**
|
12 |
* Awesome Icon Admin View
|
13 |
*
|
14 |
-
* @package
|
15 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.com>
|
16 |
* @since 1.0.0
|
17 |
*/
|
11 |
/**
|
12 |
* Awesome Icon Admin View
|
13 |
*
|
14 |
+
* @package YITH
|
15 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.com>
|
16 |
* @since 1.0.0
|
17 |
*/
|
plugin-fw/templates/panel/panel-field-container.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
/**
|
12 |
* Field Container for YIT Panel
|
13 |
*
|
14 |
-
* @package
|
15 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
16 |
* @since 3.0.0
|
17 |
*/
|
11 |
/**
|
12 |
* Field Container for YIT Panel
|
13 |
*
|
14 |
+
* @package YITH
|
15 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
16 |
* @since 3.0.0
|
17 |
*/
|
plugin-fw/templates/panel/woocommerce/woocommerce-upload.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
/**
|
12 |
* Upload Plugin Admin View
|
13 |
*
|
14 |
-
* @package
|
15 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
16 |
* @since 1.0.0
|
17 |
*/
|
11 |
/**
|
12 |
* Upload Plugin Admin View
|
13 |
*
|
14 |
+
* @package YITH
|
15 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
16 |
* @since 1.0.0
|
17 |
*/
|
plugin-fw/yit-plugin.php
CHANGED
@@ -39,6 +39,7 @@ include_once( 'lib/yit-assets.php');
|
|
39 |
include_once( 'lib/yit-debug.php');
|
40 |
include_once( 'lib/privacy/yit-privacy.php' );
|
41 |
include_once( 'lib/privacy/yit-privacy-plugin-abstract.php' );
|
|
|
42 |
|
43 |
// load from theme folder...
|
44 |
load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' )
|
@@ -144,7 +145,7 @@ if( ! function_exists( 'yit_plugin_fw_row_meta' ) ){
|
|
144 |
|
145 |
else{
|
146 |
if( isset( $base_uri[ $field ] ) ) {
|
147 |
-
$url = $base_uri[ $field ] . $slug;
|
148 |
}
|
149 |
}
|
150 |
}
|
39 |
include_once( 'lib/yit-debug.php');
|
40 |
include_once( 'lib/privacy/yit-privacy.php' );
|
41 |
include_once( 'lib/privacy/yit-privacy-plugin-abstract.php' );
|
42 |
+
include_once ( 'lib/promo/yith-promo.php' );
|
43 |
|
44 |
// load from theme folder...
|
45 |
load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' )
|
145 |
|
146 |
else{
|
147 |
if( isset( $base_uri[ $field ] ) ) {
|
148 |
+
$url = apply_filters( "yith_plugin_row_meta_{$field}_url", $base_uri[ $field ] . $slug, $field, $slug, $base_uri );
|
149 |
}
|
150 |
}
|
151 |
}
|