WC Vendors - Version 1.9.7

Version Description

No Upgrade required at this time.

Download this release

Release Info

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

Code changes from version 1.9.6 to 1.9.7

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  Changelog for WC Vendors
2
 
 
 
 
 
3
  Version 1.9.6
4
 
5
  * Added: Commission Query Functions #321
1
  Changelog for WC Vendors
2
 
3
+ Version 1.9.7
4
+
5
+ * Fixed: Capabilities Fix for Resetting Roles #329
6
+
7
  Version 1.9.6
8
 
9
  * Added: Commission Query Functions #321
class-wc-vendors.php CHANGED
@@ -8,9 +8,9 @@
8
  * Author URI: https://www.wcvendors.com
9
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
10
  *
11
- * Version: 1.9.6
12
- * Requires at least: 4.0.0
13
- * Tested up to: 4.6.1
14
  *
15
  * Text Domain: wcvendors
16
  * Domain Path: /languages/
@@ -72,7 +72,7 @@ if ( wcv_is_woocommerce_activated() ) {
72
  if ( !defined( 'wcv_plugin_dir_path' ) ) define( 'wcv_plugin_dir_path', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
73
 
74
 
75
- define('WCV_VERSION', '1.9.6' );
76
 
77
  /**
78
  * Main Product Vendor class
8
  * Author URI: https://www.wcvendors.com
9
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
10
  *
11
+ * Version: 1.9.7
12
+ * Requires at least: 4.4.0
13
+ * Tested up to: 4.7.0
14
  *
15
  * Text Domain: wcvendors
16
  * Domain Path: /languages/
72
  if ( !defined( 'wcv_plugin_dir_path' ) ) define( 'wcv_plugin_dir_path', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
73
 
74
 
75
+ define('WCV_VERSION', '1.9.7' );
76
 
77
  /**
78
  * Main Product Vendor class
classes/admin/class-admin-page.php CHANGED
@@ -154,7 +154,7 @@ class WCV_Admin_Setup
154
  add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors' ), array(
155
  'read' => true,
156
  'edit_posts' => false,
157
- 'delete_posts' => false
158
  ) );
159
 
160
  echo '<div class="updated inline"><p>' . __( 'WC Vendor roles successfully reset.', 'wcvendors' ) . '</p></div>';
154
  add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors' ), array(
155
  'read' => true,
156
  'edit_posts' => false,
157
+ 'delete_posts' => true
158
  ) );
159
 
160
  echo '<div class="updated inline"><p>' . __( 'WC Vendor roles successfully reset.', 'wcvendors' ) . '</p></div>';
readme.txt CHANGED
@@ -4,9 +4,9 @@ Tags: commission rate, e-commerce, ecommerce, ebay, free, marketplace, multi se
4
  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.6.1
9
- Stable tag: 1.9.6
10
  License: GPLv2 or later
11
 
12
  The free marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your site!
4
  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.4.0
8
+ Tested up to: 4.7.0
9
+ Stable tag: 1.9.7
10
  License: GPLv2 or later
11
 
12
  The free marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your site!