Skip to content

Commit

Permalink
Merge branch 'release/3.10.3' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
shohag121 committed Apr 17, 2024
2 parents a45b81c + 0abae61 commit bf43e48
Show file tree
Hide file tree
Showing 21 changed files with 428 additions and 323 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
**Donate Link:** http://tareq.co/donate/
**Tags:** WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce.
**Requires at least:** 5.6
**Tested up to:** 6.5
**Tested up to:** 6.5.2
**WC requires at least:** 5.0.0
**WC tested up to:** 8.7.0
**Requires PHP:** 7.4
**Stable tag:** 3.10.2
**Stable tag:** 3.10.3
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -338,6 +338,21 @@ A. Just install and activate the PRO version without deleting the free plugin. A

## Changelog ##

### v3.10.3 ( Apr 17, 2024 ) ###

- **update:** Notification count support added for vendor dashboard
- **update:** added a new filter to set a default value for I am a customer / I am a vendor radio button
- **update:** Processing Order count added for vendor dashboard orders menu
- **update:** Performance improvements for vendor dashboard -> order details page -> downloadable product permission section
- **update:** Admin can change product author from REST API
Previously, product_author was read-only property, now admin can change product_author for an existing product or create a new product for another author.
- **update:** Warning message styling for selecting fixed cart discount on admin coupon add edit page
- **fix:** Advertisement product not purchasable for own product purchasing restriction
- **fix:** Header Template number one breaks without background image
- **fix:** html entity showing in product tag selection in vendor dashboard.
- **fix:** Vendor add notification switch in admin dashboard
- **fix:** Under wooCommerce my-account registration section, `I am a customer` was forced to be set as the default value. With this PR this problem has been fixed.

### v3.10.2 ( Apr 01, 2024 ) ###

- **update:** Email placeholder, additional content support and formatting added
Expand Down
5 changes: 5 additions & 0 deletions assets/css/global-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,9 @@
.dokan-admin-notices-wrap .slide-prev-leave-to {
transform: translate(100%);
}
#woocommerce-coupon-data #coupon_options #general_coupon_data #fixed-cart-discount-warning {
display: block;
padding: 0;
color: #cc0000;
}

10 changes: 10 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4644,6 +4644,16 @@ div.media-sidebar a.edit-attachment {
background-size: 100% 100%;
background-repeat: no-repeat;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-img {
height: 100% !important;
object-fit: cover;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-img.dummy-image {
position: absolute;
left: 0;
top: 0;
background-size: cover;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper {
position: absolute;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/dokan.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/vendor-registration.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/vue-admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/vue-bootstrap.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dokan.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Dokan
* Plugin URI: https://dokan.co/wordpress/
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
* Version: 3.10.2
* Version: 3.10.3
* Author: weDevs
* Author URI: https://dokan.co/
* Text Domain: dokan-lite
Expand Down Expand Up @@ -66,7 +66,7 @@ final class WeDevs_Dokan {
*
* @var string
*/
public $version = '3.10.2';
public $version = '3.10.3';

/**
* Instance of self
Expand Down
2 changes: 1 addition & 1 deletion includes/Abstracts/DokanRESTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public function format_collection_response( $response, $request, $total_items )
/**
* Update post author if requested.
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param WP_REST_Request $request Request object.
* @param int $object_id Object ID.
Expand Down
4 changes: 2 additions & 2 deletions includes/Dashboard/Templates/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function dashboard_side_navigation() {
/**
* Adds notification count to menu and submenu of vendor dashboard
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param string $menu_title Menu title
* @param array $menu_details Menu details array
Expand All @@ -58,7 +58,7 @@ public function add_notification_count( string $menu_title, array $menu_details
/**
* Notification count filter
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param int $notification_counts Number of notifications for menu & submenu
* @param array $menu_details Details for menu and submenu
Expand Down
2 changes: 1 addition & 1 deletion includes/Dashboard/Templates/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private function add_pagination_info( $limit, $page, $order_count ) {
/**
* Add pending order count to dashboard menu.
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param array $menu Menu Array.
*
Expand Down
6 changes: 3 additions & 3 deletions includes/Order/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
/**
* Class Ajax
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @package WeDevs\Dokan\Order
*/
class Ajax {
/**
* Class constructor
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @return void
*/
Expand All @@ -29,7 +29,7 @@ public function __construct() {
/**
* Search downloadable products
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/REST/ProductController.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ public function get_latest_product( $request ) {
/**
* Validate post author overrides.
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param WP_REST_Request $request Request object.
* @param int $store_id fallback Store or author id.
Expand Down
2 changes: 1 addition & 1 deletion includes/functions-dashboard-navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function dokan_dashboard_nav( $active_menu = '' ) {
/**
* Filters a menu key according to slug if needed.
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param string $submenu_key
* @param string $menu_key
Expand Down
2 changes: 1 addition & 1 deletion includes/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ function dokan_store_contact_widget() {
/**
* Get seller registration form default role
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @return string values can be 'customer' or 'seller'
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/wc-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ function dokan_vendor_own_product_purchase_restriction( bool $is_purchasable, $p
* the vendor is attempting to purchase their own product. It can be used to restrict
* or allow such purchases according to business rules.
*
* @since DOKAN_SINCE
* @since 3.10.3
*
* @param bool $is_purchasable Indicates if the product is purchasable. True by default.
* @param WP_Post $product The product object being evaluated for purchasability.
Expand Down
Loading

0 comments on commit bf43e48

Please sign in to comment.