WC Vendors - Version 1.8.3

Version Description

No Upgrade required at this time.

Download this release

Release Info

Developer digitalchild
Plugin Icon 128x128 WC Vendors
Version 1.8.3
Comparing to
See all releases

Code changes from version 1.8.2 to 1.8.3

changelog.txt CHANGED
@@ -1,10 +1,15 @@
1
  Changelog for WC Vendors
2
 
 
 
 
 
 
3
  Version 1.8.2
4
 
5
  * Added: Sold By label option
6
  * Added: New Vendor Commission Totals Report #234
7
- * Fixed: Added 'Shipped' if marked as shipped #233
8
  * Fixed: Renamed internal function to stop theme and plugin clash
9
 
10
  Version 1.8.1
1
  Changelog for WC Vendors
2
 
3
+ Version 1.8.3
4
+
5
+ * Fixed: Fatal Error on activation Merge pull request #235 from oleggen/patch-1
6
+ * Added: Seller info label option
7
+
8
  Version 1.8.2
9
 
10
  * Added: Sold By label option
11
  * Added: New Vendor Commission Totals Report #234
12
+ * Fixed: Added 'Shipped' if marked as shipped #233 can be found on WooCommerce > Reports > WC Vendors > Commission Totals
13
  * Fixed: Renamed internal function to stop theme and plugin clash
14
 
15
  Version 1.8.1
class-wc-vendors.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author: WC Vendors
8
  * Author URI: http://wcvendors.com
9
  *
10
- * Version: 1.8.2
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.0
13
  *
7
  * Author: WC Vendors
8
  * Author URI: http://wcvendors.com
9
  *
10
+ * Version: 1.8.3
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.0
13
  *
classes/admin/settings/sf-options.php CHANGED
@@ -107,6 +107,14 @@ $options[ ] = array(
107
  'std' => __( 'Sold By: ', 'wcvendors' ),
108
  );
109
 
 
 
 
 
 
 
 
 
110
  $options[ ] = array( 'name' => __( 'Products', 'wcvendors' ), 'type' => 'heading' );
111
  $options[ ] = array( 'name' => __( 'Product Add Page', 'wcvendors' ), 'type' => 'title', 'desc' => __( 'Configure what to hide from all vendors when adding a product', 'wcvendors' ) );
112
 
107
  'std' => __( 'Sold By: ', 'wcvendors' ),
108
  );
109
 
110
+ $options[ ] = array(
111
+ 'name' => __( 'Vendor Info Label', 'wcvendors' ),
112
+ 'desc' => __( 'The seller info tab title on the single product page.', 'wcvendors' ),
113
+ 'id' => 'seller_info_label',
114
+ 'type' => 'text',
115
+ 'std' => __( 'Seller Info', 'wcvendors' ),
116
+ );
117
+
118
  $options[ ] = array( 'name' => __( 'Products', 'wcvendors' ), 'type' => 'heading' );
119
  $options[ ] = array( 'name' => __( 'Product Add Page', 'wcvendors' ), 'type' => 'title', 'desc' => __( 'Configure what to hide from all vendors when adding a product', 'wcvendors' ) );
120
 
classes/front/class-vendor-shop.php CHANGED
@@ -92,6 +92,8 @@ class WCV_Vendor_Shop
92
  $has_html = get_user_meta( $post->post_author, 'pv_shop_html_enabled', true );
93
  $global_html = WC_Vendors::$pv_options->get_option( 'shop_html_enabled' );
94
 
 
 
95
  if ( !empty( $seller_info ) ) {
96
 
97
  $seller_info = do_shortcode( $seller_info );
@@ -102,7 +104,7 @@ class WCV_Vendor_Shop
102
  self::$seller_info .= '</div>';
103
 
104
  $tabs[ 'seller_info' ] = array(
105
- 'title' => apply_filters( 'wcvendors_seller_info_label', __( 'Seller info', 'wcvendors' ) ),
106
  'priority' => 50,
107
  'callback' => array( 'WCV_Vendor_Shop', 'seller_info_tab_panel' ),
108
  );
92
  $has_html = get_user_meta( $post->post_author, 'pv_shop_html_enabled', true );
93
  $global_html = WC_Vendors::$pv_options->get_option( 'shop_html_enabled' );
94
 
95
+ $seller_info_label = WC_Vendors::$pv_options->get_option( 'seller_info_label' );
96
+
97
  if ( !empty( $seller_info ) ) {
98
 
99
  $seller_info = do_shortcode( $seller_info );
104
  self::$seller_info .= '</div>';
105
 
106
  $tabs[ 'seller_info' ] = array(
107
+ 'title' => apply_filters( 'wcvendors_seller_info_label', $seller_info_label ),
108
  'priority' => 50,
109
  'callback' => array( 'WCV_Vendor_Shop', 'seller_info_tab_panel' ),
110
  );
classes/includes/class-functions.php CHANGED
@@ -5,7 +5,7 @@ if ( !class_exists( 'WCV_Dependencies' ) ) require_once 'class-dependencies.php'
5
  /**
6
  * WC Detection
7
  * */
8
- if ( !function_exists( 'is_woocommerce_activated' ) ) {
9
  function wcv_is_woocommerce_activated()
10
  {
11
  return WCV_Dependencies::woocommerce_active_check();
@@ -15,7 +15,7 @@ if ( !function_exists( 'is_woocommerce_activated' ) ) {
15
  /**
16
  * JS Detection
17
  * */
18
- if ( !function_exists( 'is_jigoshop_activated' ) ) {
19
  function wcv_is_jigoshop_activated()
20
  {
21
  return WCV_Dependencies::jigoshop_active_check();
@@ -25,7 +25,7 @@ if ( !function_exists( 'is_jigoshop_activated' ) ) {
25
  /**
26
  * EDD Detection
27
  * */
28
- if ( !function_exists( 'is_edd_activated' ) ) {
29
  function wcv_is_edd_activated()
30
  {
31
  return WCV_Dependencies::edd_active_check();
@@ -45,4 +45,4 @@ if (!function_exists('wcv_get_user_role')) {
45
  return isset($wp_roles->role_names[$role]) ? translate_user_role($wp_roles->role_names[$role] ) : false;
46
  }
47
  }
48
- ?>
5
  /**
6
  * WC Detection
7
  * */
8
+ if ( !function_exists( 'wcv_is_woocommerce_activated' ) ) {
9
  function wcv_is_woocommerce_activated()
10
  {
11
  return WCV_Dependencies::woocommerce_active_check();
15
  /**
16
  * JS Detection
17
  * */
18
+ if ( !function_exists( 'wcv_is_jigoshop_activated' ) ) {
19
  function wcv_is_jigoshop_activated()
20
  {
21
  return WCV_Dependencies::jigoshop_active_check();
25
  /**
26
  * EDD Detection
27
  * */
28
+ if ( !function_exists( 'wcv_is_edd_activated' ) ) {
29
  function wcv_is_edd_activated()
30
  {
31
  return WCV_Dependencies::edd_active_check();
45
  return isset($wp_roles->role_names[$role]) ? translate_user_role($wp_roles->role_names[$role] ) : false;
46
  }
47
  }
48
+ ?>
readme.txt CHANGED
@@ -5,8 +5,8 @@ Donate link: http://www.wcvendors.com/
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
- Tested up to: 4.3.1
9
- Stable tag: 1.8.2
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
@@ -113,6 +113,12 @@ No Upgrade required at this time.
113
 
114
  == Changelog ==
115
 
 
 
 
 
 
 
116
  = Version 1.8.2 - 17th December 2015 =
117
 
118
  * Added: Sold By label option
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
+ Tested up to: 4.4.0
9
+ Stable tag: 1.8.3
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
113
 
114
  == Changelog ==
115
 
116
+ = Version 1.8.3 - 18th December 2015 =
117
+
118
+ * Fixed: Fatal Error on activation Merge pull request #235 from oleggen/patch-1
119
+ * Added: Seller info label option
120
+
121
+
122
  = Version 1.8.2 - 17th December 2015 =
123
 
124
  * Added: Sold By label option