Version Description
Last Stable Tag 2.1.1
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Catalog Mode |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- init.php +2 -2
- languages/yith-woocommerce-catalog-mode.pot +2 -2
- plugin-fw/assets/js/yith-fields.js +3 -2
- plugin-fw/assets/js/yith-fields.min.js +1 -1
- plugin-fw/includes/class-yit-plugin-panel.php +1 -4
- plugin-fw/includes/class-yith-debug.php +6 -142
- plugin-fw/includes/class-yith-system-status.php +17 -0
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.po +20 -12
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +22 -18
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +22 -18
- plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +22 -18
- plugin-fw/languages/yith-plugin-fw.pot +19 -10
- plugin-fw/templates/sysinfo/tabs/main.php +21 -3
- readme.txt +7 -2
init.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
* Author: YITH
|
7 |
* Text Domain: yith-woocommerce-catalog-mode
|
8 |
-
* Version: 2.1.
|
9 |
* Author URI: https://yithemes.com/
|
10 |
* WC requires at least: 5.3.0
|
11 |
* WC tested up to: 5.7.x
|
@@ -61,7 +61,7 @@ function ywctm_install_free_admin_notice() {
|
|
61 |
<?php
|
62 |
}
|
63 |
|
64 |
-
! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.1.
|
65 |
! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
|
66 |
! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
|
67 |
! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
|
5 |
* Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
* Author: YITH
|
7 |
* Text Domain: yith-woocommerce-catalog-mode
|
8 |
+
* Version: 2.1.1
|
9 |
* Author URI: https://yithemes.com/
|
10 |
* WC requires at least: 5.3.0
|
11 |
* WC tested up to: 5.7.x
|
61 |
<?php
|
62 |
}
|
63 |
|
64 |
+
! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.1.1' );
|
65 |
! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
|
66 |
! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
|
67 |
! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
|
languages/yith-woocommerce-catalog-mode.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Catalog Mode 2.1.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
|
8 |
-
"POT-Creation-Date: 2021-09-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: YITH WooCommerce Catalog Mode 2.1.1\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
|
8 |
+
"POT-Creation-Date: 2021-09-27 12:08:58+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
plugin-fw/assets/js/yith-fields.js
CHANGED
@@ -148,8 +148,9 @@
|
|
148 |
attachment = attachment.toJSON();
|
149 |
|
150 |
if ( attachment.id ) {
|
151 |
-
attachmentIDs
|
152 |
-
|
|
|
153 |
}
|
154 |
} );
|
155 |
|
148 |
attachment = attachment.toJSON();
|
149 |
|
150 |
if ( attachment.id ) {
|
151 |
+
attachmentIDs = attachmentIDs ? attachmentIDs + "," + attachment.id : attachment.id;
|
152 |
+
var attachmentImageData = attachment.sizes.thumbnail || attachment.sizes.medium || attachment.sizes.large || attachment.sizes.full;
|
153 |
+
wrapper.append( '<li class="image" data-attachment_id="' + attachment.id + '"><img src="' + attachmentImageData.url + '"/><ul class="actions"><li><a href="#" class="delete" title="' + button.data( 'delete' ) + '">x</a></li></ul></li>' );
|
154 |
}
|
155 |
} );
|
156 |
|
plugin-fw/assets/js/yith-fields.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={selectors:{imgPreview:".yith-plugin-fw-upload-img-preview",uploadButton:".yith-plugin-fw-upload-button",imgUrl:".yith-plugin-fw-upload-img-url",resetButton:".yith-plugin-fw-upload-button-reset"},onImageChange:function(){var i=e(this).val(),n=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(t.selectors.imgPreview).first();a.length<1&&(a=e(this).parent().parent().find(t.selectors.imgPreview).first()),n.test(i)?a.html('<img src="'+i+'" style="max-width:100px; max-height:100px;" />'):a.html("")},onButtonClick:function(i){i.preventDefault();var n,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(n)n.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(n=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var i=n.state().get("selection").first().toJSON(),l=e("#"+a+"-yith-attachment-id");e("#"+a).val(i.url),l.length&&l.val(i.id),t.triggerImageChange()}),n.open()}},onResetClick:function(){var i=e(this),n=i.attr("id").replace(/(\[|\])/g,"\\$1"),a=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),l=e("#"+n).data("default");e("#"+a).val(l),t.triggerImageChange()},triggerImageChange:function(){e(t.selectors.imgUrl).trigger("change")},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("change",t.selectors.imgUrl,t.onImageChange),e(document).on("click",t.selectors.uploadButton,t.onButtonClick),e(document).on("click",t.selectors.resetButton,t.onResetClick))}};t.initOnce();var i={selectors:{gallery:".yith-plugin-fw-image-gallery",notInitGallery:".yith-plugin-fw-image-gallery:not(.yith-plugin-fw-image-gallery--initialized)",button:".yith-plugin-fw-image-gallery .image-gallery-button",slideWrapper:"ul.slides-wrapper"},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(document).on("click",i.selectors.button,function(t){var n=e(this),a=n.closest(i.selectors.gallery),l=a.find(".image_gallery_ids"),o=l.val(),s=a.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:n.data("choose"),button:{text:n.data("update")},states:[new wp.media.controller.Library({title:n.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+n.data("delete")+'">x</a></li></ul></li>'))}),l.val(o),l.trigger("change")}),r.open()})},init:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(i.selectors.notInitGallery).each(function(){e(this).addClass("yith-plugin-fw-image-gallery--initialized");var t=e(this).find(i.selectors.slideWrapper);t.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(n,a){var l="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");l=l+t+","}),t.closest(i.selectors.gallery).find(".image_gallery_ids").val(l)}})}),t.on("click","a.delete",function(t){t.preventDefault();var n=e(this).closest(i.selectors.gallery),a=n.find("ul.slides-wrapper"),l=n.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),a.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),l.val(o)})})}};i.initOnce(),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")});e(document).on("yith_fields_init",function(){var n=e(".yith-plugin-fw-datepicker:not(.yith-plugin-fw-datepicker--initialized)"),a=e(".yith-plugin-fw-colorpicker:not(.yith-plugin-fw-colorpicker--initialized)"),l=e(".yith-plugin-fw-sidebar-layout:not(.yith-plugin-fw-sidebar-layout--initialized)"),o=e(".yith-plugin-fw-slider-container:not(.yith-plugin-fw-slider-container--initialized)"),s=e(".yit-icons-manager-wrapper:not(.yit-icons-manager-wrapper--initialized)");n.each(function(){e(this).addClass("yith-plugin-fw-datepicker--initialized");var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),a.each(function(){e(this).addClass("yith-plugin-fw-colorpicker--initialized"),e(this).wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.trigger("change")}});var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),l.each(function(){e(this).addClass("yith-plugin-fw-sidebar-layout--initialized"),e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),o.each(function(){e(this).addClass("yith-plugin-fw-slider-container--initialized");var t=e(this).find(".ui-slider-horizontal"),i=t.data("val"),n=t.data("min"),a=t.data("max"),l=t.data("step"),o=t.data("labels");t.slider({value:i,min:n,max:a,range:"min",step:l,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value).trigger("change"),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),s.each(function(){e(this).addClass("yit-icons-manager-wrapper--initialized");var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),c=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",c),n.val(o+":"+c),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("wc-enhanced-select-init"),e(document.body).trigger("yith-framework-enhanced-select-init"),e(document).trigger("yith-plugin-fw-codemirror-init"),t.triggerImageChange(),i.init()}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var c=wp.template("yith-toggle-element-item-"+n),d=e(c({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(d).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(d).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(d).find("#"+n).val(a)}}),e(d).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,d,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(d),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).find('input[type="radio"]').filter('[value="'+e(this).data("value")+'"]').click(),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var n={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var t=n;e(document).on("click",t.selectors.units.single,t.unitChange),e(document).on("click",t.selectors.linked.button,t.linkedChange),e(document).on("change keyup",t.selectors.dimensions.number,t.numberChange)},unitChange:function(t){var i=e(this).closest(n.selectors.units.single),a=i.closest(n.selectors.units.wrapper),l=a.find(n.selectors.units.single),o=a.find(n.selectors.units.value).first(),s=i.data("value");l.removeClass(n.selectors.units.selectedClass),i.addClass(n.selectors.units.selectedClass),o.val(s).trigger("change")},linkedChange:function(){var t=e(this).closest(n.selectors.linked.button),i=t.closest(n.selectors.wrapper),a=t.find(n.selectors.linked.value);"yes"===a.val()?(i.removeClass(n.selectors.linked.wrapperActiveClass),a.val("no")):(i.addClass(n.selectors.linked.wrapperActiveClass),a.val("yes"),i.find(n.selectors.dimensions.number).first().trigger("change"))},numberChange:function(t){var i=e(this).closest(n.selectors.dimensions.number),a=i.closest(n.selectors.wrapper);a.hasClass(n.selectors.linked.wrapperActiveClass)&&a.find(n.selectors.dimensions.number).val(i.val())}};n.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)});var a={init:function(){e(document).on("click",".yith-plugin-fw__action-button--has-menu",a.open),e(document).on("click",".yith-plugin-fw__action-button__menu",a.stopPropagation),e(document).on("click",a.closeAll)},closeAll:function(){e(".yith-plugin-fw__action-button--opened").removeClass("yith-plugin-fw__action-button--opened")},open:function(t){var i=e(this).closest(".yith-plugin-fw__action-button"),n=i.hasClass("yith-plugin-fw__action-button--opened");t.preventDefault(),t.stopPropagation(),a.closeAll(),n||i.addClass("yith-plugin-fw__action-button--opened")},stopPropagation:function(e){e.stopPropagation()}};a.init(),e(document).on("click","a.yith-plugin-fw__require-confirmation-link",function(t){var i=e(this).closest("a.yith-plugin-fw__require-confirmation-link"),n=i.attr("href");if(n&&"#"!==n&&(t.preventDefault(),t.stopPropagation(),"yith"in window&&"ui"in yith)){var a,l=["title","message","confirmButtonType","cancelButton","confirmButton"],o={};for(a in l){var s=l[a],r=i.data(s);void 0!==r&&(o[s]=r)}o.onConfirm=function(){window.location.href=n},o.closeAfterConfirm=!1,yith.ui.confirm(o)}}),e(document).on("yith-plugin-fw-tips-init",function(){e(".yith-plugin-fw__tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("yith-plugin-fw-tips-init")}(jQuery);
|
1 |
+
!function(e){var t={selectors:{imgPreview:".yith-plugin-fw-upload-img-preview",uploadButton:".yith-plugin-fw-upload-button",imgUrl:".yith-plugin-fw-upload-img-url",resetButton:".yith-plugin-fw-upload-button-reset"},onImageChange:function(){var i=e(this).val(),n=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(t.selectors.imgPreview).first();a.length<1&&(a=e(this).parent().parent().find(t.selectors.imgPreview).first()),n.test(i)?a.html('<img src="'+i+'" style="max-width:100px; max-height:100px;" />'):a.html("")},onButtonClick:function(i){i.preventDefault();var n,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(n)n.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(n=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var i=n.state().get("selection").first().toJSON(),l=e("#"+a+"-yith-attachment-id");e("#"+a).val(i.url),l.length&&l.val(i.id),t.triggerImageChange()}),n.open()}},onResetClick:function(){var i=e(this),n=i.attr("id").replace(/(\[|\])/g,"\\$1"),a=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),l=e("#"+n).data("default");e("#"+a).val(l),t.triggerImageChange()},triggerImageChange:function(){e(t.selectors.imgUrl).trigger("change")},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("change",t.selectors.imgUrl,t.onImageChange),e(document).on("click",t.selectors.uploadButton,t.onButtonClick),e(document).on("click",t.selectors.resetButton,t.onResetClick))}};t.initOnce();var i={selectors:{gallery:".yith-plugin-fw-image-gallery",notInitGallery:".yith-plugin-fw-image-gallery:not(.yith-plugin-fw-image-gallery--initialized)",button:".yith-plugin-fw-image-gallery .image-gallery-button",slideWrapper:"ul.slides-wrapper"},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(document).on("click",i.selectors.button,function(t){var n=e(this),a=n.closest(i.selectors.gallery),l=a.find(".image_gallery_ids"),o=l.val(),s=a.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:n.data("choose"),button:{text:n.data("update")},states:[new wp.media.controller.Library({title:n.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){if((e=e.toJSON()).id){o=o?o+","+e.id:e.id;var t=e.sizes.thumbnail||e.sizes.medium||e.sizes.large||e.sizes.full;s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+t.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+n.data("delete")+'">x</a></li></ul></li>')}}),l.val(o),l.trigger("change")}),r.open()})},init:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(i.selectors.notInitGallery).each(function(){e(this).addClass("yith-plugin-fw-image-gallery--initialized");var t=e(this).find(i.selectors.slideWrapper);t.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(n,a){var l="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");l=l+t+","}),t.closest(i.selectors.gallery).find(".image_gallery_ids").val(l)}})}),t.on("click","a.delete",function(t){t.preventDefault();var n=e(this).closest(i.selectors.gallery),a=n.find("ul.slides-wrapper"),l=n.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),a.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),l.val(o)})})}};i.initOnce(),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")});e(document).on("yith_fields_init",function(){var n=e(".yith-plugin-fw-datepicker:not(.yith-plugin-fw-datepicker--initialized)"),a=e(".yith-plugin-fw-colorpicker:not(.yith-plugin-fw-colorpicker--initialized)"),l=e(".yith-plugin-fw-sidebar-layout:not(.yith-plugin-fw-sidebar-layout--initialized)"),o=e(".yith-plugin-fw-slider-container:not(.yith-plugin-fw-slider-container--initialized)"),s=e(".yit-icons-manager-wrapper:not(.yit-icons-manager-wrapper--initialized)");n.each(function(){e(this).addClass("yith-plugin-fw-datepicker--initialized");var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),a.each(function(){e(this).addClass("yith-plugin-fw-colorpicker--initialized"),e(this).wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.trigger("change")}});var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),l.each(function(){e(this).addClass("yith-plugin-fw-sidebar-layout--initialized"),e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),o.each(function(){e(this).addClass("yith-plugin-fw-slider-container--initialized");var t=e(this).find(".ui-slider-horizontal"),i=t.data("val"),n=t.data("min"),a=t.data("max"),l=t.data("step"),o=t.data("labels");t.slider({value:i,min:n,max:a,range:"min",step:l,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value).trigger("change"),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),s.each(function(){e(this).addClass("yit-icons-manager-wrapper--initialized");var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),c=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",c),n.val(o+":"+c),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("wc-enhanced-select-init"),e(document.body).trigger("yith-framework-enhanced-select-init"),e(document).trigger("yith-plugin-fw-codemirror-init"),t.triggerImageChange(),i.init()}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var c=wp.template("yith-toggle-element-item-"+n),d=e(c({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(d).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(d).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(d).find("#"+n).val(a)}}),e(d).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,d,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(d),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).find('input[type="radio"]').filter('[value="'+e(this).data("value")+'"]').click(),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var n={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var t=n;e(document).on("click",t.selectors.units.single,t.unitChange),e(document).on("click",t.selectors.linked.button,t.linkedChange),e(document).on("change keyup",t.selectors.dimensions.number,t.numberChange)},unitChange:function(t){var i=e(this).closest(n.selectors.units.single),a=i.closest(n.selectors.units.wrapper),l=a.find(n.selectors.units.single),o=a.find(n.selectors.units.value).first(),s=i.data("value");l.removeClass(n.selectors.units.selectedClass),i.addClass(n.selectors.units.selectedClass),o.val(s).trigger("change")},linkedChange:function(){var t=e(this).closest(n.selectors.linked.button),i=t.closest(n.selectors.wrapper),a=t.find(n.selectors.linked.value);"yes"===a.val()?(i.removeClass(n.selectors.linked.wrapperActiveClass),a.val("no")):(i.addClass(n.selectors.linked.wrapperActiveClass),a.val("yes"),i.find(n.selectors.dimensions.number).first().trigger("change"))},numberChange:function(t){var i=e(this).closest(n.selectors.dimensions.number),a=i.closest(n.selectors.wrapper);a.hasClass(n.selectors.linked.wrapperActiveClass)&&a.find(n.selectors.dimensions.number).val(i.val())}};n.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)});var a={init:function(){e(document).on("click",".yith-plugin-fw__action-button--has-menu",a.open),e(document).on("click",".yith-plugin-fw__action-button__menu",a.stopPropagation),e(document).on("click",a.closeAll)},closeAll:function(){e(".yith-plugin-fw__action-button--opened").removeClass("yith-plugin-fw__action-button--opened")},open:function(t){var i=e(this).closest(".yith-plugin-fw__action-button"),n=i.hasClass("yith-plugin-fw__action-button--opened");t.preventDefault(),t.stopPropagation(),a.closeAll(),n||i.addClass("yith-plugin-fw__action-button--opened")},stopPropagation:function(e){e.stopPropagation()}};a.init(),e(document).on("click","a.yith-plugin-fw__require-confirmation-link",function(t){var i=e(this).closest("a.yith-plugin-fw__require-confirmation-link"),n=i.attr("href");if(n&&"#"!==n&&(t.preventDefault(),t.stopPropagation(),"yith"in window&&"ui"in yith)){var a,l=["title","message","confirmButtonType","cancelButton","confirmButton"],o={};for(a in l){var s=l[a],r=i.data(s);void 0!==r&&(o[s]=r)}o.onConfirm=function(){window.location.href=n},o.closeAfterConfirm=!1,yith.ui.confirm(o)}}),e(document).on("yith-plugin-fw-tips-init",function(){e(".yith-plugin-fw__tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("yith-plugin-fw-tips-init")}(jQuery);
|
plugin-fw/includes/class-yit-plugin-panel.php
CHANGED
@@ -491,10 +491,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
491 |
$tabs .= '</ul>';
|
492 |
?>
|
493 |
<h2 class="<?php echo esc_attr( $wrapper_class ); ?>">
|
494 |
-
<?php
|
495 |
-
// $tabs is already escaped, since its content is created via YIT_Plugin_Panel::get_tab_nav.
|
496 |
-
echo $tabs; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
497 |
-
?>
|
498 |
</h2>
|
499 |
<?php
|
500 |
$this->print_sub_tabs_nav( $args );
|
491 |
$tabs .= '</ul>';
|
492 |
?>
|
493 |
<h2 class="<?php echo esc_attr( $wrapper_class ); ?>">
|
494 |
+
<?php echo wp_kses_post( $tabs ); ?>
|
|
|
|
|
|
|
495 |
</h2>
|
496 |
<?php
|
497 |
$this->print_sub_tabs_nav( $args );
|
plugin-fw/includes/class-yith-debug.php
CHANGED
@@ -12,7 +12,8 @@ if ( ! class_exists( 'YITH_Debug' ) ) {
|
|
12 |
/**
|
13 |
* YITH_Debug class.
|
14 |
*
|
15 |
-
* @author
|
|
|
16 |
*/
|
17 |
class YITH_Debug {
|
18 |
|
@@ -47,22 +48,14 @@ if ( ! class_exists( 'YITH_Debug' ) ) {
|
|
47 |
* YITH_Debug constructor.
|
48 |
*/
|
49 |
private function __construct() {
|
50 |
-
|
51 |
}
|
52 |
|
53 |
/**
|
54 |
* Init
|
55 |
*/
|
56 |
public function init() {
|
57 |
-
if ( ! is_admin() || defined( 'DOING_AJAX' ) ) {
|
58 |
-
return;
|
59 |
-
}
|
60 |
|
61 |
-
$is_debug = apply_filters( 'yith_plugin_fw_is_debug', isset( $_GET['yith-debug'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
62 |
-
|
63 |
-
if ( $is_debug ) {
|
64 |
-
add_action( 'admin_bar_menu', array( $this, 'add_debug_in_admin_bar' ), 99 );
|
65 |
-
}
|
66 |
}
|
67 |
|
68 |
/**
|
@@ -71,60 +64,7 @@ if ( ! class_exists( 'YITH_Debug' ) ) {
|
|
71 |
* @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance.
|
72 |
*/
|
73 |
public function add_debug_in_admin_bar( $wp_admin_bar ) {
|
74 |
-
|
75 |
-
'id' => 'yith-debug-admin-bar',
|
76 |
-
'title' => 'YITH Debug',
|
77 |
-
'href' => '',
|
78 |
-
'meta' => array(
|
79 |
-
'class' => 'yith-debug-admin-bar',
|
80 |
-
),
|
81 |
-
);
|
82 |
-
$wp_admin_bar->add_node( $args );
|
83 |
-
|
84 |
-
$subnodes = array();
|
85 |
-
|
86 |
-
foreach ( $this->get_debug_information() as $key => $information ) {
|
87 |
-
$label = $information['label'];
|
88 |
-
$value = $information['value'];
|
89 |
-
$url = ! empty( $information['url'] ) ? $information['url'] : '';
|
90 |
-
|
91 |
-
if ( ! ! $value ) {
|
92 |
-
$title = "<strong>$label:</strong> $value";
|
93 |
-
} else {
|
94 |
-
$title = "<strong>$label</strong>";
|
95 |
-
}
|
96 |
-
|
97 |
-
$subnodes[] = array(
|
98 |
-
'id' => 'yith-debug-admin-bar-' . $key,
|
99 |
-
'parent' => 'yith-debug-admin-bar',
|
100 |
-
'title' => $title,
|
101 |
-
'href' => $url,
|
102 |
-
'meta' => array(
|
103 |
-
'class' => 'yith-debug-admin-bar-' . $key,
|
104 |
-
),
|
105 |
-
);
|
106 |
-
|
107 |
-
if ( isset( $information['subsub'] ) ) {
|
108 |
-
foreach ( $information['subsub'] as $sub_key => $sub_value ) {
|
109 |
-
$title = isset( $sub_value['title'] ) ? $sub_value['title'] : '';
|
110 |
-
$html = isset( $sub_value['html'] ) ? $sub_value['html'] : '';
|
111 |
-
$subnodes[] = array(
|
112 |
-
'id' => 'yith-debug-admin-bar-' . $key . '-' . $sub_key,
|
113 |
-
'parent' => 'yith-debug-admin-bar-' . $key,
|
114 |
-
'title' => $title,
|
115 |
-
'href' => '',
|
116 |
-
'meta' => array(
|
117 |
-
'class' => 'yith-debug-admin-bar-' . $key . '-' . $sub_key,
|
118 |
-
'html' => $html,
|
119 |
-
),
|
120 |
-
);
|
121 |
-
}
|
122 |
-
}
|
123 |
-
}
|
124 |
-
|
125 |
-
foreach ( $subnodes as $subnode ) {
|
126 |
-
$wp_admin_bar->add_node( $subnode );
|
127 |
-
}
|
128 |
}
|
129 |
|
130 |
|
@@ -134,84 +74,9 @@ if ( ! class_exists( 'YITH_Debug' ) ) {
|
|
134 |
* @return array
|
135 |
*/
|
136 |
public function get_debug_information() {
|
137 |
-
|
138 |
-
// phpcs:disable WordPress.PHP.DevelopmentFunctions.error_log_var_dump
|
139 |
-
|
140 |
-
$debug = array(
|
141 |
-
'plugin-fw-info' => array(
|
142 |
-
'label' => 'Framework',
|
143 |
-
'value' => $this->get_plugin_framework_info(),
|
144 |
-
),
|
145 |
-
'yith-premium-plugins' => array(
|
146 |
-
'label' => 'YITH Premium Plugins',
|
147 |
-
'value' => '',
|
148 |
-
'subsub' => $this->get_premium_plugins_info(),
|
149 |
-
),
|
150 |
-
'wc-version' => array(
|
151 |
-
'label' => 'WooCommerce',
|
152 |
-
'value' => $this->get_woocommerce_version_info(),
|
153 |
-
),
|
154 |
-
'theme' => array(
|
155 |
-
'label' => 'Theme',
|
156 |
-
'value' => $this->get_theme_info(),
|
157 |
-
),
|
158 |
-
'screen-id' => array(
|
159 |
-
'label' => 'Screen ID',
|
160 |
-
'value' => $this->get_current_screen_info(),
|
161 |
-
),
|
162 |
-
'post-meta' => array(
|
163 |
-
'label' => 'Post Meta',
|
164 |
-
'value' => '',
|
165 |
-
'url' => add_query_arg( array( 'yith-debug-post-meta' => 'all' ) ),
|
166 |
-
),
|
167 |
-
'option' => array(
|
168 |
-
'label' => 'Option',
|
169 |
-
'value' => '',
|
170 |
-
'url' => add_query_arg( array( 'yith-debug-option' => '' ) ),
|
171 |
-
),
|
172 |
-
);
|
173 |
-
|
174 |
-
// Post Meta debug.
|
175 |
-
global $post;
|
176 |
-
if ( ! empty( $_GET['yith-debug-post-meta'] ) && $post ) {
|
177 |
-
$meta_key = sanitize_key( wp_unslash( $_GET['yith-debug-post-meta'] ) );
|
178 |
-
$meta_value = 'all' !== $meta_key ? get_post_meta( $post->ID, $meta_key, true ) : get_post_meta( $post->ID );
|
179 |
-
|
180 |
-
ob_start();
|
181 |
-
echo '<pre>';
|
182 |
-
var_dump( $meta_value );
|
183 |
-
echo '</pre>';
|
184 |
-
$meta_value_html = ob_get_clean();
|
185 |
-
|
186 |
-
$debug['post-meta']['value'] = $meta_key;
|
187 |
-
$debug['post-meta']['subsub'] = array( array( 'html' => $meta_value_html ) );
|
188 |
-
}
|
189 |
-
|
190 |
-
// Option debug.
|
191 |
-
if ( ! empty( $_GET['yith-debug-option'] ) ) {
|
192 |
-
$option_key = sanitize_key( wp_unslash( $_GET['yith-debug-option'] ) );
|
193 |
-
$option_value = get_option( $option_key );
|
194 |
-
|
195 |
-
ob_start();
|
196 |
-
echo '<pre>';
|
197 |
-
var_dump( $option_value );
|
198 |
-
echo '</pre>';
|
199 |
-
$option_value_html = ob_get_clean();
|
200 |
-
|
201 |
-
$debug['option']['value'] = $option_key;
|
202 |
-
$debug['option']['subsub'] = array( array( 'html' => $option_value_html ) );
|
203 |
-
}
|
204 |
-
|
205 |
-
// phpcs:enable
|
206 |
-
|
207 |
-
return $debug;
|
208 |
}
|
209 |
|
210 |
-
/** -----------------------------------------------------------
|
211 |
-
* GETTER INFO
|
212 |
-
* -----------------------------------------------------------
|
213 |
-
*/
|
214 |
-
|
215 |
/**
|
216 |
* Return the current screen ID.
|
217 |
*
|
@@ -281,10 +146,9 @@ if ( ! function_exists( 'yith_debug' ) ) {
|
|
281 |
* Single instance of YITH_Debug
|
282 |
*
|
283 |
* @return YITH_Debug
|
|
|
284 |
*/
|
285 |
function yith_debug() {
|
286 |
return YITH_Debug::instance();
|
287 |
}
|
288 |
-
|
289 |
-
yith_debug();
|
290 |
}
|
12 |
/**
|
13 |
* YITH_Debug class.
|
14 |
*
|
15 |
+
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
16 |
+
* @deprecated 3.7.7
|
17 |
*/
|
18 |
class YITH_Debug {
|
19 |
|
48 |
* YITH_Debug constructor.
|
49 |
*/
|
50 |
private function __construct() {
|
51 |
+
|
52 |
}
|
53 |
|
54 |
/**
|
55 |
* Init
|
56 |
*/
|
57 |
public function init() {
|
|
|
|
|
|
|
58 |
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
60 |
|
61 |
/**
|
64 |
* @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance.
|
65 |
*/
|
66 |
public function add_debug_in_admin_bar( $wp_admin_bar ) {
|
67 |
+
// Do nothing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
|
70 |
|
74 |
* @return array
|
75 |
*/
|
76 |
public function get_debug_information() {
|
77 |
+
return array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
|
|
|
|
|
|
|
|
|
|
|
80 |
/**
|
81 |
* Return the current screen ID.
|
82 |
*
|
146 |
* Single instance of YITH_Debug
|
147 |
*
|
148 |
* @return YITH_Debug
|
149 |
+
* @deprecated 3.7.7
|
150 |
*/
|
151 |
function yith_debug() {
|
152 |
return YITH_Debug::instance();
|
153 |
}
|
|
|
|
|
154 |
}
|
plugin-fw/includes/class-yith-system-status.php
CHANGED
@@ -702,6 +702,23 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
702 |
return ! ! $ip ? $ip : 'n/a';
|
703 |
}
|
704 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
705 |
}
|
706 |
}
|
707 |
|
702 |
return ! ! $ip ? $ip : 'n/a';
|
703 |
}
|
704 |
|
705 |
+
/**
|
706 |
+
* Retrieve plugin-fw info, such as version and loaded-by.
|
707 |
+
*
|
708 |
+
* @return array
|
709 |
+
*/
|
710 |
+
public function get_plugin_fw_info() {
|
711 |
+
$version = yith_plugin_fw_get_version();
|
712 |
+
$loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
|
713 |
+
$loaded_by_init = trailingslashit( dirname( YIT_CORE_PLUGIN_PATH ) ) . 'init.php';
|
714 |
+
if ( file_exists( $loaded_by_init ) ) {
|
715 |
+
$plugin_data = get_plugin_data( $loaded_by_init );
|
716 |
+
$loaded_by = $plugin_data['Name'] ?? $loaded_by;
|
717 |
+
}
|
718 |
+
|
719 |
+
return compact( 'version', 'loaded_by' );
|
720 |
+
}
|
721 |
+
|
722 |
}
|
723 |
}
|
724 |
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.7.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.7.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.7.7
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.7.7
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
plugin-fw/languages/yith-plugin-fw-el.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -22,7 +22,7 @@ msgid "Are you sure you want to trash the selected items?"
|
|
22 |
msgstr ""
|
23 |
|
24 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
25 |
-
#: templates/sysinfo/tabs/main.php:
|
26 |
#: yit-functions.php:1964 yit-functions.php:1982
|
27 |
msgid "No"
|
28 |
msgstr "Όχι"
|
@@ -588,31 +588,40 @@ msgstr "Έγινε αντιγραφή!"
|
|
588 |
msgid "Copy Code"
|
589 |
msgstr "Αντιγραφή Κώδικα"
|
590 |
|
591 |
-
#: templates/sysinfo/tabs/main.php:
|
592 |
msgid "Site Info"
|
593 |
msgstr "Στοιχεία Ιστότοπου"
|
594 |
|
595 |
-
#: templates/sysinfo/tabs/main.php:
|
596 |
msgid "Site URL"
|
597 |
msgstr "URL Ιστοσελίδας"
|
598 |
|
599 |
-
#: templates/sysinfo/tabs/main.php:
|
600 |
msgid "Output IP Address"
|
601 |
msgstr "Διεύθυνση IP Παραγωγής"
|
602 |
|
603 |
-
#: templates/sysinfo/tabs/main.php:
|
604 |
msgid "Defined WP_CACHE"
|
605 |
msgstr "Καθορισμένο WP_CACHE"
|
606 |
|
607 |
-
#: templates/sysinfo/tabs/main.php:
|
608 |
msgid "Yes"
|
609 |
msgstr "Ναι"
|
610 |
|
611 |
-
#: templates/sysinfo/tabs/main.php:
|
612 |
msgid "External object cache"
|
613 |
msgstr "Cache εξωτερικού αντικειμένου"
|
614 |
|
615 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
msgid "Plugins Requirements"
|
617 |
msgstr "Προϋποθέσεις Πρόσθετων"
|
618 |
|
@@ -630,7 +639,7 @@ msgstr ""
|
|
630 |
msgid "Further actions"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: yit-plugin.php:
|
634 |
msgid "License"
|
635 |
msgstr "Άδεια χρήσης προϊόντος"
|
636 |
|
@@ -787,10 +796,9 @@ msgid "Width"
|
|
787 |
msgstr ""
|
788 |
|
789 |
#: templates/fields/image-dimensions.php:23
|
790 |
-
#, fuzzy
|
791 |
msgctxt "Image height field label"
|
792 |
msgid "Height"
|
793 |
-
msgstr "
|
794 |
|
795 |
#: templates/fields/onoff.php:28
|
796 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
@@ -947,7 +955,7 @@ msgctxt "Plugin Row Meta"
|
|
947 |
msgid "Premium version"
|
948 |
msgstr "Premium έκδοση"
|
949 |
|
950 |
-
#: yit-plugin.php:
|
951 |
msgctxt "Action links"
|
952 |
msgid "Settings"
|
953 |
msgstr "Ρυθμίσεις"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
22 |
msgstr ""
|
23 |
|
24 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
25 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
26 |
#: yit-functions.php:1964 yit-functions.php:1982
|
27 |
msgid "No"
|
28 |
msgstr "Όχι"
|
588 |
msgid "Copy Code"
|
589 |
msgstr "Αντιγραφή Κώδικα"
|
590 |
|
591 |
+
#: templates/sysinfo/tabs/main.php:16
|
592 |
msgid "Site Info"
|
593 |
msgstr "Στοιχεία Ιστότοπου"
|
594 |
|
595 |
+
#: templates/sysinfo/tabs/main.php:21
|
596 |
msgid "Site URL"
|
597 |
msgstr "URL Ιστοσελίδας"
|
598 |
|
599 |
+
#: templates/sysinfo/tabs/main.php:30
|
600 |
msgid "Output IP Address"
|
601 |
msgstr "Διεύθυνση IP Παραγωγής"
|
602 |
|
603 |
+
#: templates/sysinfo/tabs/main.php:38
|
604 |
msgid "Defined WP_CACHE"
|
605 |
msgstr "Καθορισμένο WP_CACHE"
|
606 |
|
607 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
608 |
msgid "Yes"
|
609 |
msgstr "Ναι"
|
610 |
|
611 |
+
#: templates/sysinfo/tabs/main.php:46
|
612 |
msgid "External object cache"
|
613 |
msgstr "Cache εξωτερικού αντικειμένου"
|
614 |
|
615 |
#: templates/sysinfo/tabs/main.php:54
|
616 |
+
msgid "YITH Plugin Framework Version"
|
617 |
+
msgstr ""
|
618 |
+
|
619 |
+
#. translators: %s is the name of the plugin that is loading the framework.
|
620 |
+
#: templates/sysinfo/tabs/main.php:63
|
621 |
+
msgid "loaded by %s"
|
622 |
+
msgstr ""
|
623 |
+
|
624 |
+
#: templates/sysinfo/tabs/main.php:72
|
625 |
msgid "Plugins Requirements"
|
626 |
msgstr "Προϋποθέσεις Πρόσθετων"
|
627 |
|
639 |
msgid "Further actions"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: yit-plugin.php:206
|
643 |
msgid "License"
|
644 |
msgstr "Άδεια χρήσης προϊόντος"
|
645 |
|
796 |
msgstr ""
|
797 |
|
798 |
#: templates/fields/image-dimensions.php:23
|
|
|
799 |
msgctxt "Image height field label"
|
800 |
msgid "Height"
|
801 |
+
msgstr ""
|
802 |
|
803 |
#: templates/fields/onoff.php:28
|
804 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
955 |
msgid "Premium version"
|
956 |
msgstr "Premium έκδοση"
|
957 |
|
958 |
+
#: yit-plugin.php:202
|
959 |
msgctxt "Action links"
|
960 |
msgid "Settings"
|
961 |
msgstr "Ρυθμίσεις"
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -23,7 +23,7 @@ msgstr ""
|
|
23 |
"¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
|
24 |
|
25 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
26 |
-
#: templates/sysinfo/tabs/main.php:
|
27 |
#: yit-functions.php:1964 yit-functions.php:1982
|
28 |
msgid "No"
|
29 |
msgstr "No"
|
@@ -596,31 +596,40 @@ msgstr "¡Copiado!"
|
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Copiar código"
|
598 |
|
599 |
-
#: templates/sysinfo/tabs/main.php:
|
600 |
msgid "Site Info"
|
601 |
msgstr "Información del sitio"
|
602 |
|
603 |
-
#: templates/sysinfo/tabs/main.php:
|
604 |
msgid "Site URL"
|
605 |
msgstr "URL del sitio"
|
606 |
|
607 |
-
#: templates/sysinfo/tabs/main.php:
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Dirección IP de salida"
|
610 |
|
611 |
-
#: templates/sysinfo/tabs/main.php:
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "WP_CACHE definido"
|
614 |
|
615 |
-
#: templates/sysinfo/tabs/main.php:
|
616 |
msgid "Yes"
|
617 |
msgstr "Sí"
|
618 |
|
619 |
-
#: templates/sysinfo/tabs/main.php:
|
620 |
msgid "External object cache"
|
621 |
msgstr "Caché objeto externo"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
msgid "Plugins Requirements"
|
625 |
msgstr "Requerimientos de los plugins"
|
626 |
|
@@ -638,7 +647,7 @@ msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
|
|
638 |
msgid "Further actions"
|
639 |
msgstr "Otras acciones"
|
640 |
|
641 |
-
#: yit-plugin.php:
|
642 |
msgid "License"
|
643 |
msgstr "Licencia"
|
644 |
|
@@ -792,13 +801,12 @@ msgstr "Enlazar valores juntos"
|
|
792 |
#: templates/fields/image-dimensions.php:18
|
793 |
msgctxt "Image width field label"
|
794 |
msgid "Width"
|
795 |
-
msgstr ""
|
796 |
|
797 |
#: templates/fields/image-dimensions.php:23
|
798 |
-
#, fuzzy
|
799 |
msgctxt "Image height field label"
|
800 |
msgid "Height"
|
801 |
-
msgstr "
|
802 |
|
803 |
#: templates/fields/onoff.php:28
|
804 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
@@ -959,11 +967,7 @@ msgctxt "Plugin Row Meta"
|
|
959 |
msgid "Premium version"
|
960 |
msgstr "Versión premium"
|
961 |
|
962 |
-
#: yit-plugin.php:
|
963 |
msgctxt "Action links"
|
964 |
msgid "Settings"
|
965 |
msgstr "Ajustes"
|
966 |
-
|
967 |
-
#~ msgctxt "Delete confirmation action"
|
968 |
-
#~ msgid "Yes, delete permanently"
|
969 |
-
#~ msgstr "Sí, borrar permanentemente"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-07-26 10:52:41+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
23 |
"¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
|
24 |
|
25 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
26 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
27 |
#: yit-functions.php:1964 yit-functions.php:1982
|
28 |
msgid "No"
|
29 |
msgstr "No"
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Copiar código"
|
598 |
|
599 |
+
#: templates/sysinfo/tabs/main.php:16
|
600 |
msgid "Site Info"
|
601 |
msgstr "Información del sitio"
|
602 |
|
603 |
+
#: templates/sysinfo/tabs/main.php:21
|
604 |
msgid "Site URL"
|
605 |
msgstr "URL del sitio"
|
606 |
|
607 |
+
#: templates/sysinfo/tabs/main.php:30
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Dirección IP de salida"
|
610 |
|
611 |
+
#: templates/sysinfo/tabs/main.php:38
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "WP_CACHE definido"
|
614 |
|
615 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
616 |
msgid "Yes"
|
617 |
msgstr "Sí"
|
618 |
|
619 |
+
#: templates/sysinfo/tabs/main.php:46
|
620 |
msgid "External object cache"
|
621 |
msgstr "Caché objeto externo"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
624 |
+
msgid "YITH Plugin Framework Version"
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#. translators: %s is the name of the plugin that is loading the framework.
|
628 |
+
#: templates/sysinfo/tabs/main.php:63
|
629 |
+
msgid "loaded by %s"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: templates/sysinfo/tabs/main.php:72
|
633 |
msgid "Plugins Requirements"
|
634 |
msgstr "Requerimientos de los plugins"
|
635 |
|
647 |
msgid "Further actions"
|
648 |
msgstr "Otras acciones"
|
649 |
|
650 |
+
#: yit-plugin.php:206
|
651 |
msgid "License"
|
652 |
msgstr "Licencia"
|
653 |
|
801 |
#: templates/fields/image-dimensions.php:18
|
802 |
msgctxt "Image width field label"
|
803 |
msgid "Width"
|
804 |
+
msgstr "Anchura"
|
805 |
|
806 |
#: templates/fields/image-dimensions.php:23
|
|
|
807 |
msgctxt "Image height field label"
|
808 |
msgid "Height"
|
809 |
+
msgstr "Altura"
|
810 |
|
811 |
#: templates/fields/onoff.php:28
|
812 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
967 |
msgid "Premium version"
|
968 |
msgstr "Versión premium"
|
969 |
|
970 |
+
#: yit-plugin.php:202
|
971 |
msgctxt "Action links"
|
972 |
msgid "Settings"
|
973 |
msgstr "Ajustes"
|
|
|
|
|
|
|
|
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 Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -22,7 +22,7 @@ msgid "Are you sure you want to trash the selected items?"
|
|
22 |
msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
|
23 |
|
24 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
25 |
-
#: templates/sysinfo/tabs/main.php:
|
26 |
#: yit-functions.php:1964 yit-functions.php:1982
|
27 |
msgid "No"
|
28 |
msgstr "No"
|
@@ -596,31 +596,40 @@ msgstr "Copiato!"
|
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Copia codice"
|
598 |
|
599 |
-
#: templates/sysinfo/tabs/main.php:
|
600 |
msgid "Site Info"
|
601 |
msgstr "Info sito"
|
602 |
|
603 |
-
#: templates/sysinfo/tabs/main.php:
|
604 |
msgid "Site URL"
|
605 |
msgstr "URL del sito"
|
606 |
|
607 |
-
#: templates/sysinfo/tabs/main.php:
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Indirizzo IP di output"
|
610 |
|
611 |
-
#: templates/sysinfo/tabs/main.php:
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "Defined WP_CACHE"
|
614 |
|
615 |
-
#: templates/sysinfo/tabs/main.php:
|
616 |
msgid "Yes"
|
617 |
msgstr "Sì"
|
618 |
|
619 |
-
#: templates/sysinfo/tabs/main.php:
|
620 |
msgid "External object cache"
|
621 |
msgstr "External object cache"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
msgid "Plugins Requirements"
|
625 |
msgstr "Requisiti plugin"
|
626 |
|
@@ -638,7 +647,7 @@ msgstr "Sei sicuro di voler eliminare \"%s\"?"
|
|
638 |
msgid "Further actions"
|
639 |
msgstr "Altre azioni"
|
640 |
|
641 |
-
#: yit-plugin.php:
|
642 |
msgid "License"
|
643 |
msgstr "Chiave di licenza"
|
644 |
|
@@ -793,13 +802,12 @@ msgstr "Collega i valori"
|
|
793 |
#: templates/fields/image-dimensions.php:18
|
794 |
msgctxt "Image width field label"
|
795 |
msgid "Width"
|
796 |
-
msgstr ""
|
797 |
|
798 |
#: templates/fields/image-dimensions.php:23
|
799 |
-
#, fuzzy
|
800 |
msgctxt "Image height field label"
|
801 |
msgid "Height"
|
802 |
-
msgstr "
|
803 |
|
804 |
#: templates/fields/onoff.php:28
|
805 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
@@ -961,11 +969,7 @@ msgctxt "Plugin Row Meta"
|
|
961 |
msgid "Premium version"
|
962 |
msgstr "Versione premium"
|
963 |
|
964 |
-
#: yit-plugin.php:
|
965 |
msgctxt "Action links"
|
966 |
msgid "Settings"
|
967 |
msgstr "Impostazioni"
|
968 |
-
|
969 |
-
#~ msgctxt "Delete confirmation action"
|
970 |
-
#~ msgid "Yes, delete permanently"
|
971 |
-
#~ msgstr "Sì, elimina definitivamente"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-09-09 16:03:50+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
22 |
msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
|
23 |
|
24 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
25 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
26 |
#: yit-functions.php:1964 yit-functions.php:1982
|
27 |
msgid "No"
|
28 |
msgstr "No"
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Copia codice"
|
598 |
|
599 |
+
#: templates/sysinfo/tabs/main.php:16
|
600 |
msgid "Site Info"
|
601 |
msgstr "Info sito"
|
602 |
|
603 |
+
#: templates/sysinfo/tabs/main.php:21
|
604 |
msgid "Site URL"
|
605 |
msgstr "URL del sito"
|
606 |
|
607 |
+
#: templates/sysinfo/tabs/main.php:30
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Indirizzo IP di output"
|
610 |
|
611 |
+
#: templates/sysinfo/tabs/main.php:38
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "Defined WP_CACHE"
|
614 |
|
615 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
616 |
msgid "Yes"
|
617 |
msgstr "Sì"
|
618 |
|
619 |
+
#: templates/sysinfo/tabs/main.php:46
|
620 |
msgid "External object cache"
|
621 |
msgstr "External object cache"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
624 |
+
msgid "YITH Plugin Framework Version"
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#. translators: %s is the name of the plugin that is loading the framework.
|
628 |
+
#: templates/sysinfo/tabs/main.php:63
|
629 |
+
msgid "loaded by %s"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: templates/sysinfo/tabs/main.php:72
|
633 |
msgid "Plugins Requirements"
|
634 |
msgstr "Requisiti plugin"
|
635 |
|
647 |
msgid "Further actions"
|
648 |
msgstr "Altre azioni"
|
649 |
|
650 |
+
#: yit-plugin.php:206
|
651 |
msgid "License"
|
652 |
msgstr "Chiave di licenza"
|
653 |
|
802 |
#: templates/fields/image-dimensions.php:18
|
803 |
msgctxt "Image width field label"
|
804 |
msgid "Width"
|
805 |
+
msgstr "Larghezza"
|
806 |
|
807 |
#: templates/fields/image-dimensions.php:23
|
|
|
808 |
msgctxt "Image height field label"
|
809 |
msgid "Height"
|
810 |
+
msgstr "Altezza"
|
811 |
|
812 |
#: templates/fields/onoff.php:28
|
813 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
969 |
msgid "Premium version"
|
970 |
msgstr "Versione premium"
|
971 |
|
972 |
+
#: yit-plugin.php:202
|
973 |
msgctxt "Action links"
|
974 |
msgid "Settings"
|
975 |
msgstr "Impostazioni"
|
|
|
|
|
|
|
|
plugin-fw/languages/yith-plugin-fw-nl_NL.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-nl_NL.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -24,7 +24,7 @@ msgstr ""
|
|
24 |
"verplaatsen?"
|
25 |
|
26 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
27 |
-
#: templates/sysinfo/tabs/main.php:
|
28 |
#: yit-functions.php:1964 yit-functions.php:1982
|
29 |
msgid "No"
|
30 |
msgstr "Nee"
|
@@ -596,31 +596,40 @@ msgstr "Gekopieerd!"
|
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Code kopiëren"
|
598 |
|
599 |
-
#: templates/sysinfo/tabs/main.php:
|
600 |
msgid "Site Info"
|
601 |
msgstr "Site informatie"
|
602 |
|
603 |
-
#: templates/sysinfo/tabs/main.php:
|
604 |
msgid "Site URL"
|
605 |
msgstr "Site URL"
|
606 |
|
607 |
-
#: templates/sysinfo/tabs/main.php:
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Output IP Adres"
|
610 |
|
611 |
-
#: templates/sysinfo/tabs/main.php:
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "Gedefinieerde WP_CACHE"
|
614 |
|
615 |
-
#: templates/sysinfo/tabs/main.php:
|
616 |
msgid "Yes"
|
617 |
msgstr "Ja"
|
618 |
|
619 |
-
#: templates/sysinfo/tabs/main.php:
|
620 |
msgid "External object cache"
|
621 |
msgstr "Externe object cache"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
msgid "Plugins Requirements"
|
625 |
msgstr "Plugin benodigdheden"
|
626 |
|
@@ -638,7 +647,7 @@ msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
|
|
638 |
msgid "Further actions"
|
639 |
msgstr "Verdere acties"
|
640 |
|
641 |
-
#: yit-plugin.php:
|
642 |
msgid "License"
|
643 |
msgstr "Licentie"
|
644 |
|
@@ -792,13 +801,12 @@ msgstr "Waarden aan elkaar koppelen"
|
|
792 |
#: templates/fields/image-dimensions.php:18
|
793 |
msgctxt "Image width field label"
|
794 |
msgid "Width"
|
795 |
-
msgstr ""
|
796 |
|
797 |
#: templates/fields/image-dimensions.php:23
|
798 |
-
#, fuzzy
|
799 |
msgctxt "Image height field label"
|
800 |
msgid "Height"
|
801 |
-
msgstr "
|
802 |
|
803 |
#: templates/fields/onoff.php:28
|
804 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
@@ -960,11 +968,7 @@ msgctxt "Plugin Row Meta"
|
|
960 |
msgid "Premium version"
|
961 |
msgstr "Premium versie"
|
962 |
|
963 |
-
#: yit-plugin.php:
|
964 |
msgctxt "Action links"
|
965 |
msgid "Settings"
|
966 |
msgstr "Instellingen"
|
967 |
-
|
968 |
-
#~ msgctxt "Delete confirmation action"
|
969 |
-
#~ msgid "Yes, delete permanently"
|
970 |
-
#~ msgstr "Ja, permanent verwijderen"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-07-13 10:29:10+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
24 |
"verplaatsen?"
|
25 |
|
26 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
27 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
28 |
#: yit-functions.php:1964 yit-functions.php:1982
|
29 |
msgid "No"
|
30 |
msgstr "Nee"
|
596 |
msgid "Copy Code"
|
597 |
msgstr "Code kopiëren"
|
598 |
|
599 |
+
#: templates/sysinfo/tabs/main.php:16
|
600 |
msgid "Site Info"
|
601 |
msgstr "Site informatie"
|
602 |
|
603 |
+
#: templates/sysinfo/tabs/main.php:21
|
604 |
msgid "Site URL"
|
605 |
msgstr "Site URL"
|
606 |
|
607 |
+
#: templates/sysinfo/tabs/main.php:30
|
608 |
msgid "Output IP Address"
|
609 |
msgstr "Output IP Adres"
|
610 |
|
611 |
+
#: templates/sysinfo/tabs/main.php:38
|
612 |
msgid "Defined WP_CACHE"
|
613 |
msgstr "Gedefinieerde WP_CACHE"
|
614 |
|
615 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
616 |
msgid "Yes"
|
617 |
msgstr "Ja"
|
618 |
|
619 |
+
#: templates/sysinfo/tabs/main.php:46
|
620 |
msgid "External object cache"
|
621 |
msgstr "Externe object cache"
|
622 |
|
623 |
#: templates/sysinfo/tabs/main.php:54
|
624 |
+
msgid "YITH Plugin Framework Version"
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#. translators: %s is the name of the plugin that is loading the framework.
|
628 |
+
#: templates/sysinfo/tabs/main.php:63
|
629 |
+
msgid "loaded by %s"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: templates/sysinfo/tabs/main.php:72
|
633 |
msgid "Plugins Requirements"
|
634 |
msgstr "Plugin benodigdheden"
|
635 |
|
647 |
msgid "Further actions"
|
648 |
msgstr "Verdere acties"
|
649 |
|
650 |
+
#: yit-plugin.php:206
|
651 |
msgid "License"
|
652 |
msgstr "Licentie"
|
653 |
|
801 |
#: templates/fields/image-dimensions.php:18
|
802 |
msgctxt "Image width field label"
|
803 |
msgid "Width"
|
804 |
+
msgstr "Breedte"
|
805 |
|
806 |
#: templates/fields/image-dimensions.php:23
|
|
|
807 |
msgctxt "Image height field label"
|
808 |
msgid "Height"
|
809 |
+
msgstr "Hoogte"
|
810 |
|
811 |
#: templates/fields/onoff.php:28
|
812 |
msgctxt "YES/NO button: use MAX 4 characters!"
|
968 |
msgid "Premium version"
|
969 |
msgstr "Premium versie"
|
970 |
|
971 |
+
#: yit-plugin.php:202
|
972 |
msgctxt "Action links"
|
973 |
msgid "Settings"
|
974 |
msgstr "Instellingen"
|
|
|
|
|
|
|
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -33,7 +33,7 @@ msgid "Are you sure you want to trash the selected items?"
|
|
33 |
msgstr ""
|
34 |
|
35 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
36 |
-
#: templates/sysinfo/tabs/main.php:
|
37 |
#: yit-functions.php:1964 yit-functions.php:1982
|
38 |
msgid "No"
|
39 |
msgstr ""
|
@@ -573,31 +573,40 @@ msgstr ""
|
|
573 |
msgid "Copy Code"
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: templates/sysinfo/tabs/main.php:
|
577 |
msgid "Site Info"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: templates/sysinfo/tabs/main.php:
|
581 |
msgid "Site URL"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: templates/sysinfo/tabs/main.php:
|
585 |
msgid "Output IP Address"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: templates/sysinfo/tabs/main.php:
|
589 |
msgid "Defined WP_CACHE"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: templates/sysinfo/tabs/main.php:
|
593 |
msgid "Yes"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: templates/sysinfo/tabs/main.php:
|
597 |
msgid "External object cache"
|
598 |
msgstr ""
|
599 |
|
600 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
601 |
msgid "Plugins Requirements"
|
602 |
msgstr ""
|
603 |
|
@@ -615,7 +624,7 @@ msgstr ""
|
|
615 |
msgid "Further actions"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: yit-plugin.php:
|
619 |
msgid "License"
|
620 |
msgstr ""
|
621 |
|
@@ -923,7 +932,7 @@ msgctxt "Plugin Row Meta"
|
|
923 |
msgid "Premium version"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: yit-plugin.php:
|
927 |
msgctxt "Action links"
|
928 |
msgid "Settings"
|
929 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
33 |
msgstr ""
|
34 |
|
35 |
#: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
|
36 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
37 |
#: yit-functions.php:1964 yit-functions.php:1982
|
38 |
msgid "No"
|
39 |
msgstr ""
|
573 |
msgid "Copy Code"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: templates/sysinfo/tabs/main.php:16
|
577 |
msgid "Site Info"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: templates/sysinfo/tabs/main.php:21
|
581 |
msgid "Site URL"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: templates/sysinfo/tabs/main.php:30
|
585 |
msgid "Output IP Address"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: templates/sysinfo/tabs/main.php:38
|
589 |
msgid "Defined WP_CACHE"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
|
593 |
msgid "Yes"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: templates/sysinfo/tabs/main.php:46
|
597 |
msgid "External object cache"
|
598 |
msgstr ""
|
599 |
|
600 |
#: templates/sysinfo/tabs/main.php:54
|
601 |
+
msgid "YITH Plugin Framework Version"
|
602 |
+
msgstr ""
|
603 |
+
|
604 |
+
#: templates/sysinfo/tabs/main.php:63
|
605 |
+
#. translators: %s is the name of the plugin that is loading the framework.
|
606 |
+
msgid "loaded by %s"
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: templates/sysinfo/tabs/main.php:72
|
610 |
msgid "Plugins Requirements"
|
611 |
msgstr ""
|
612 |
|
624 |
msgid "Further actions"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: yit-plugin.php:206
|
628 |
msgid "License"
|
629 |
msgstr ""
|
630 |
|
932 |
msgid "Premium version"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: yit-plugin.php:202
|
936 |
msgctxt "Action links"
|
937 |
msgid "Settings"
|
938 |
msgstr ""
|
plugin-fw/templates/sysinfo/tabs/main.php
CHANGED
@@ -7,9 +7,10 @@
|
|
7 |
|
8 |
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
9 |
|
10 |
-
$system_info
|
11 |
-
$output_ip
|
12 |
-
$labels
|
|
|
13 |
?>
|
14 |
<h2>
|
15 |
<?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
|
@@ -48,6 +49,23 @@ $labels = YITH_System_Status()->requirement_labels;
|
|
48 |
<?php echo( wp_using_ext_object_cache() ? esc_html__( 'Yes', 'yith-plugin-fw' ) : esc_html__( 'No', 'yith-plugin-fw' ) ); ?>
|
49 |
</td>
|
50 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</table>
|
52 |
|
53 |
<h2>
|
7 |
|
8 |
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
9 |
|
10 |
+
$system_info = get_option( 'yith_system_info' );
|
11 |
+
$output_ip = YITH_System_Status()->get_output_ip();
|
12 |
+
$labels = YITH_System_Status()->requirement_labels;
|
13 |
+
$plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
|
14 |
?>
|
15 |
<h2>
|
16 |
<?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
|
49 |
<?php echo( wp_using_ext_object_cache() ? esc_html__( 'Yes', 'yith-plugin-fw' ) : esc_html__( 'No', 'yith-plugin-fw' ) ); ?>
|
50 |
</td>
|
51 |
</tr>
|
52 |
+
<tr>
|
53 |
+
<th scope="row">
|
54 |
+
<?php esc_html_e( 'YITH Plugin Framework Version', 'yith-plugin-fw' ); ?>
|
55 |
+
</th>
|
56 |
+
<td class="info-value">
|
57 |
+
<?php
|
58 |
+
echo esc_html(
|
59 |
+
sprintf(
|
60 |
+
'%s (%s)',
|
61 |
+
$plugin_fw_info['version'],
|
62 |
+
// translators: %s is the name of the plugin that is loading the framework.
|
63 |
+
sprintf( __( 'loaded by %s', 'yith-plugin-fw' ), $plugin_fw_info['loaded_by'] )
|
64 |
+
)
|
65 |
+
);
|
66 |
+
?>
|
67 |
+
</td>
|
68 |
+
</tr>
|
69 |
</table>
|
70 |
|
71 |
<h2>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -131,6 +131,11 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
|
|
134 |
= Version 2.1.0 - Released: 16 September 2021 =
|
135 |
|
136 |
* New: support for WooCommerce 5.7
|
@@ -440,7 +445,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
440 |
|
441 |
== Upgrade Notice ==
|
442 |
|
443 |
-
Last Stable Tag 2.1.
|
444 |
|
445 |
== Suggestions ==
|
446 |
|
4 |
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= Version 2.1.1 - Released: 27 September 2021 =
|
135 |
+
|
136 |
+
* Update: YITH plugin framework
|
137 |
+
* Fix: debug info feature removed for all logged in users
|
138 |
+
|
139 |
= Version 2.1.0 - Released: 16 September 2021 =
|
140 |
|
141 |
* New: support for WooCommerce 5.7
|
445 |
|
446 |
== Upgrade Notice ==
|
447 |
|
448 |
+
Last Stable Tag 2.1.1
|
449 |
|
450 |
== Suggestions ==
|
451 |
|