Version Description
Released on 12nd June, 2019 =
Fix: Style issue in admin panel
Download this release
Release Info
Developer | yithemes |
Plugin | YITH Essential Kit for WooCommerce #1 |
Version | 2.0.7 |
Comparing to | |
See all releases |
Code changes from version 2.0.6 to 2.0.7
- README.txt +6 -2
- init.php +1 -1
- plugin-fw/assets/css/yith-fields.css +5 -4
- plugin-fw/assets/fonts/yith-icon.eot +0 -0
- plugin-fw/assets/fonts/yith-icon.svg +1 -0
- plugin-fw/assets/fonts/yith-icon.ttf +0 -0
- plugin-fw/assets/fonts/yith-icon.woff +0 -0
- plugin-fw/init.php +2 -2
- plugin-fw/lib/promo/yith-promo.php +1 -1
- plugin-fw/lib/yit-metabox.php +2 -2
- plugin-fw/lib/yit-plugin-licence.php +4 -1
- plugin-fw/lib/yit-theme-licence.php +4 -1
- plugin-fw/lib/yit-upgrade.php +4 -1
- plugin-fw/templates/fields/select-buttons.php +3 -2
- plugin-fw/templates/fields/select.php +2 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 5.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -151,7 +151,11 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
|
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
-
= 2.0.
|
|
|
|
|
|
|
|
|
155 |
|
156 |
* Update: YITH Plugin Framework
|
157 |
|
4 |
Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 5.2
|
7 |
+
Stable tag: 2.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 2.0.7 - Released on 12nd June, 2019 =
|
155 |
+
|
156 |
+
* Fix: Style issue in admin panel
|
157 |
+
|
158 |
+
= 2.0.6 - Released on 12nd June, 2019 =
|
159 |
|
160 |
* Update: YITH Plugin Framework
|
161 |
|
init.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Domain Path: /languages/
|
8 |
* Author: YITH
|
9 |
* Author URI: https://yithemes.com/
|
10 |
-
* Version: 2.0.
|
11 |
* WC requires at least: 2.5.0
|
12 |
* WC tested up to: 3.6
|
13 |
* @author YITHEMES
|
7 |
* Domain Path: /languages/
|
8 |
* Author: YITH
|
9 |
* Author URI: https://yithemes.com/
|
10 |
+
* Version: 2.0.7
|
11 |
* WC requires at least: 2.5.0
|
12 |
* WC tested up to: 3.6
|
13 |
* @author YITHEMES
|
plugin-fw/assets/css/yith-fields.css
CHANGED
@@ -493,7 +493,10 @@ YITH UI
|
|
493 |
content: "\e90e";
|
494 |
color: #d8d8d8;
|
495 |
}
|
496 |
-
|
|
|
|
|
|
|
497 |
.yith-plugin-fw-banner{
|
498 |
width: 100%;
|
499 |
height: 75px;
|
@@ -909,9 +912,7 @@ YITH UI
|
|
909 |
background-color: #1c4863;
|
910 |
color: #fff;
|
911 |
}
|
912 |
-
|
913 |
-
content: "\e905";
|
914 |
-
}
|
915 |
|
916 |
/** yith-remove-button **/
|
917 |
|
493 |
content: "\e90e";
|
494 |
color: #d8d8d8;
|
495 |
}
|
496 |
+
.icon-reset:before {
|
497 |
+
content: "\e910";
|
498 |
+
color: #d8d8d8;
|
499 |
+
}
|
500 |
.yith-plugin-fw-banner{
|
501 |
width: 100%;
|
502 |
height: 75px;
|
912 |
background-color: #1c4863;
|
913 |
color: #fff;
|
914 |
}
|
915 |
+
|
|
|
|
|
916 |
|
917 |
/** yith-remove-button **/
|
918 |
|
plugin-fw/assets/fonts/yith-icon.eot
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.svg
CHANGED
@@ -23,4 +23,5 @@
|
|
23 |
<glyph unicode="" glyph-name="trash" d="M734.591 132.655c0-20.48-16.696-37.101-37.101-37.101h-371.014c-20.406 0-37.101 16.621-37.101 37.101v519.42h-74.203v-519.42c0-61.403 50.087-111.304 111.304-111.304h371.014c61.217 0 111.304 49.901 111.304 111.304v519.42h-74.203v-519.42zM400.679 800.48h222.608v-37.101h-222.608v37.101zM697.49 800.48c0 40.923-33.391 74.203-74.203 74.203h-222.608c-40.812 0-74.203-33.28-74.203-74.203v-37.101h-185.507v-74.203h742.028v74.203h-185.507v37.101zM474.882 614.973h74.203v-445.217h-74.203v445.217zM363.577 614.973h74.203v-445.217h-74.203v445.217zM586.186 614.973h74.203v-445.217h-74.203v445.217z" />
|
24 |
<glyph unicode="" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
|
25 |
<glyph unicode="" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
|
|
|
26 |
</font></defs></svg>
|
23 |
<glyph unicode="" glyph-name="trash" d="M734.591 132.655c0-20.48-16.696-37.101-37.101-37.101h-371.014c-20.406 0-37.101 16.621-37.101 37.101v519.42h-74.203v-519.42c0-61.403 50.087-111.304 111.304-111.304h371.014c61.217 0 111.304 49.901 111.304 111.304v519.42h-74.203v-519.42zM400.679 800.48h222.608v-37.101h-222.608v37.101zM697.49 800.48c0 40.923-33.391 74.203-74.203 74.203h-222.608c-40.812 0-74.203-33.28-74.203-74.203v-37.101h-185.507v-74.203h742.028v74.203h-185.507v37.101zM474.882 614.973h74.203v-445.217h-74.203v445.217zM363.577 614.973h74.203v-445.217h-74.203v445.217zM586.186 614.973h74.203v-445.217h-74.203v445.217z" />
|
24 |
<glyph unicode="" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
|
25 |
<glyph unicode="" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
|
26 |
+
<glyph unicode="" glyph-name="reset" d="M188.928 400.384c23.211-158.379 159.573-280.405 324.267-280.405 118.613 0 228.352 64.341 286.379 167.936l-63.488 35.499c-45.227-80.555-130.56-130.731-222.891-130.731-120.491 0-221.525 84.139-248.149 196.608l40.107-40.107 51.541 51.541-135.168 135.168-135.168-135.168 51.541-51.541 51.029 51.2zM513.195 703.317c121.685 0 223.573-85.675 249.003-199.68l-43.179 43.179-51.541-51.541 135.168-135.168 135.168 135.168-51.541 51.541-48.981-48.981c-24.064 157.355-159.915 278.528-323.925 278.528-116.736 0-225.621-62.805-284.16-164.011l63.147-36.523c45.227 78.507 129.877 127.488 220.843 127.488z" />
|
27 |
</font></defs></svg>
|
plugin-fw/assets/fonts/yith-icon.ttf
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.woff
CHANGED
Binary file
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.3.
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
-
* @version 3.1
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.3.1
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
+
* @version 3.3.1
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
plugin-fw/lib/promo/yith-promo.php
CHANGED
@@ -21,7 +21,7 @@ if( ! function_exists( 'yith_plugin_fw_promo_notices' ) ){
|
|
21 |
return false;
|
22 |
}
|
23 |
|
24 |
-
$base_url = apply_filters( 'yith_plugin_fw_promo_base_url',
|
25 |
$xml = apply_filters( 'yith_plugin_fw_promo_xml_url', $base_url . 'yith-promo.xml' );
|
26 |
$transient = "yith_promo_message";
|
27 |
$remote_data = get_site_transient( $transient );
|
21 |
return false;
|
22 |
}
|
23 |
|
24 |
+
$base_url = apply_filters( 'yith_plugin_fw_promo_base_url', YIT_CORE_PLUGIN_PATH . '/lib/promo/' );
|
25 |
$xml = apply_filters( 'yith_plugin_fw_promo_xml_url', $base_url . 'yith-promo.xml' );
|
26 |
$transient = "yith_promo_message";
|
27 |
$remote_data = get_site_transient( $transient );
|
plugin-fw/lib/yit-metabox.php
CHANGED
@@ -595,7 +595,7 @@ if ( !class_exists( 'YIT_Metabox' ) ) {
|
|
595 |
*
|
596 |
* @param $classes
|
597 |
*
|
598 |
-
* @return
|
599 |
* @author Emanuela Castorina
|
600 |
*/
|
601 |
public function add_body_class( $classes ) {
|
@@ -603,7 +603,7 @@ if ( !class_exists( 'YIT_Metabox' ) ) {
|
|
603 |
|
604 |
$exclude_post_types = apply_filters( 'yith_plugin_fw_exclude_post_types_to_additional_classes', array( 'product' ) );
|
605 |
|
606 |
-
if ( in_array( $post->post_type, $exclude_post_types ) ) {
|
607 |
return $classes;
|
608 |
}
|
609 |
|
595 |
*
|
596 |
* @param $classes
|
597 |
*
|
598 |
+
* @return string
|
599 |
* @author Emanuela Castorina
|
600 |
*/
|
601 |
public function add_body_class( $classes ) {
|
603 |
|
604 |
$exclude_post_types = apply_filters( 'yith_plugin_fw_exclude_post_types_to_additional_classes', array( 'product' ) );
|
605 |
|
606 |
+
if ( $post && in_array( $post->post_type, $exclude_post_types ) ) {
|
607 |
return $classes;
|
608 |
}
|
609 |
|
plugin-fw/lib/yit-plugin-licence.php
CHANGED
@@ -58,7 +58,10 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
58 |
yith_plugin_fw_load_update_and_licence_files();
|
59 |
}
|
60 |
|
61 |
-
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
/**
|
58 |
yith_plugin_fw_load_update_and_licence_files();
|
59 |
}
|
60 |
|
61 |
+
try {
|
62 |
+
YITH_Plugin_Licence()->register( $init, $secret_key, $product_id );
|
63 |
+
} catch( Error $e ){
|
64 |
+
}
|
65 |
}
|
66 |
|
67 |
/**
|
plugin-fw/lib/yit-theme-licence.php
CHANGED
@@ -58,7 +58,10 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
|
|
58 |
yith_plugin_fw_load_update_and_licence_files();
|
59 |
}
|
60 |
|
61 |
-
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
/**
|
58 |
yith_plugin_fw_load_update_and_licence_files();
|
59 |
}
|
60 |
|
61 |
+
try {
|
62 |
+
YITH_Theme_Licence()->register( $init, $secret_key, $product_id );
|
63 |
+
} catch( Error $e ){
|
64 |
+
}
|
65 |
}
|
66 |
|
67 |
/**
|
plugin-fw/lib/yit-upgrade.php
CHANGED
@@ -56,7 +56,10 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
56 |
yith_plugin_fw_load_update_and_licence_files();
|
57 |
}
|
58 |
|
59 |
-
|
|
|
|
|
|
|
60 |
}
|
61 |
|
62 |
/**
|
56 |
yith_plugin_fw_load_update_and_licence_files();
|
57 |
}
|
58 |
|
59 |
+
try {
|
60 |
+
YITH_Plugin_Upgrade()->register( $plugin_slug, $plugin_init );
|
61 |
+
} catch( Error $e ){
|
62 |
+
}
|
63 |
}
|
64 |
|
65 |
/**
|
plugin-fw/templates/fields/select-buttons.php
CHANGED
@@ -18,19 +18,20 @@ $field[ 'type' ] = 'select';
|
|
18 |
|
19 |
if ( empty( $field[ 'class' ] ) ) unset( $field[ 'class' ] );
|
20 |
|
|
|
21 |
$default_args = array(
|
22 |
'multiple' => true,
|
23 |
'class' => 'wc-enhanced-select',
|
24 |
'buttons' => array(
|
25 |
array(
|
26 |
-
'name' =>
|
27 |
'class' => 'yith-plugin-fw-select-all',
|
28 |
'data' => array(
|
29 |
'select-id' => $field[ 'id' ]
|
30 |
),
|
31 |
),
|
32 |
array(
|
33 |
-
'name' => __( '
|
34 |
'class' => 'yith-plugin-fw-deselect-all',
|
35 |
'data' => array(
|
36 |
'select-id' => $field[ 'id' ]
|
18 |
|
19 |
if ( empty( $field[ 'class' ] ) ) unset( $field[ 'class' ] );
|
20 |
|
21 |
+
$add_label = isset( $field['add_all_button_label'] ) ? $field['add_all_button_label'] : __( 'Add All', 'yith-plugin-fw' );
|
22 |
$default_args = array(
|
23 |
'multiple' => true,
|
24 |
'class' => 'wc-enhanced-select',
|
25 |
'buttons' => array(
|
26 |
array(
|
27 |
+
'name' => $add_label,
|
28 |
'class' => 'yith-plugin-fw-select-all',
|
29 |
'data' => array(
|
30 |
'select-id' => $field[ 'id' ]
|
31 |
),
|
32 |
),
|
33 |
array(
|
34 |
+
'name' => __( 'Remove All', 'yith-plugin-fw' ),
|
35 |
'class' => 'yith-plugin-fw-deselect-all',
|
36 |
'data' => array(
|
37 |
'select-id' => $field[ 'id' ]
|
plugin-fw/templates/fields/select.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
extract( $field );
|
16 |
$multiple = isset( $multiple ) && $multiple;
|
17 |
$multiple_html = ( $multiple ) ? ' multiple' : '';
|
18 |
-
|
19 |
if ( $multiple && !is_array( $value ) )
|
20 |
$value = array();
|
21 |
|
@@ -26,6 +26,7 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-select';
|
|
26 |
name="<?php echo $name ?><?php if ( $multiple ) echo "[]" ?>" <?php if ( isset( $std ) ) : ?>
|
27 |
data-std="<?php echo ( $multiple ) ? implode( ' ,', $std ) : $std ?>"<?php endif ?>
|
28 |
class="<?php echo $class ?>"
|
|
|
29 |
<?php echo $custom_attributes ?>
|
30 |
<?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>>
|
31 |
<?php foreach ( $options as $key => $item ) : ?>
|
15 |
extract( $field );
|
16 |
$multiple = isset( $multiple ) && $multiple;
|
17 |
$multiple_html = ( $multiple ) ? ' multiple' : '';
|
18 |
+
$placeholder = isset( $placeholder ) ? ' data-placeholder = "' . $placeholder .'" ': '';
|
19 |
if ( $multiple && !is_array( $value ) )
|
20 |
$value = array();
|
21 |
|
26 |
name="<?php echo $name ?><?php if ( $multiple ) echo "[]" ?>" <?php if ( isset( $std ) ) : ?>
|
27 |
data-std="<?php echo ( $multiple ) ? implode( ' ,', $std ) : $std ?>"<?php endif ?>
|
28 |
class="<?php echo $class ?>"
|
29 |
+
<?php echo $placeholder ?>
|
30 |
<?php echo $custom_attributes ?>
|
31 |
<?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>>
|
32 |
<?php foreach ( $options as $key => $item ) : ?>
|