Skip to content

Commit ffe302e

Browse files
committed
chore: change version number
1 parent 46c20eb commit ffe302e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+140
-140
lines changed

depricated/depricated-functions.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Wrapper for wc_doing_it_wrong.
55
*
6-
* @since DOKAN_LITE_SINCE
6+
* @since 3.0.0
77
*
88
* @param string $function Function used.
99
* @param string $message Message to log.
@@ -39,7 +39,7 @@ function dokan_get_product_status( $status ) {
3939
/**
4040
* Load depericated widget class dynamically
4141
*
42-
* @since DOKAN_LITE_SINCE
42+
* @since 3.0.0
4343
*
4444
* @return void
4545
*/

depricated/depricated-hooks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Support for Elementor Store Widgets
55
*
6-
* @since DOKAN_LITE_SINCE
6+
* @since 3.0.0
77
*
88
* @param array $default_widget_args
99
* @param \Widget_WordPress $widget_wordpress

dokan.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ final class WeDevs_Dokan {
8282
/**
8383
* Databse version key
8484
*
85-
* @since DOKAN_LITE_SINCE
85+
* @since 3.0.0
8686
*
8787
* @var string
8888
*/
@@ -534,7 +534,7 @@ public function woocommerce_not_loaded() {
534534
/**
535535
* Get Dokan db version key
536536
*
537-
* @since DOKAN_LITE_SINCE
537+
* @since 3.0.0
538538
*
539539
* @return string
540540
*/

includes/Abstracts/DokanBackgroundProcesses.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class DokanBackgroundProcesses extends \WP_Background_Process {
3131
/**
3232
* Class constructor
3333
*
34-
* @since DOKAN_LITE_SINCE
34+
* @since 3.0.0
3535
*
3636
* @return void
3737
*/
@@ -106,7 +106,7 @@ public function cancel_process() {
106106
/**
107107
* Set process action
108108
*
109-
* @since DOKAN_LITE_SINCE
109+
* @since 3.0.0
110110
*
111111
* @return void
112112
*/

includes/Abstracts/DokanModel.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ abstract class DokanModel {
77
/**
88
* Set model data
99
*
10-
* @since DOKAN_LITE_SINCE
10+
* @since 3.0.0
1111
*
1212
* @param array $data
1313
*/
@@ -16,7 +16,7 @@ abstract protected function set_data( $data );
1616
/**
1717
* Get model data
1818
*
19-
* @since DOKAN_LITE_SINCE
19+
* @since 3.0.0
2020
*
2121
* @return array
2222
*/
@@ -27,7 +27,7 @@ public function get_data() {
2727
/**
2828
* Save model data
2929
*
30-
* @since DOKAN_LITE_SINCE
30+
* @since 3.0.0
3131
*
3232
* @return \WeDevs\Dokan\Abstracts\Model
3333
*/
@@ -36,7 +36,7 @@ abstract public function save();
3636
/**
3737
* Create a model
3838
*
39-
* @since DOKAN_LITE_SINCE
39+
* @since 3.0.0
4040
*
4141
* @return \WeDevs\Dokan\Abstracts\Model
4242
*/
@@ -45,7 +45,7 @@ abstract protected function create();
4545
/**
4646
* Update a model
4747
*
48-
* @since DOKAN_LITE_SINCE
48+
* @since 3.0.0
4949
*
5050
* @return \WeDevs\Dokan\Abstracts\Model
5151
*/
@@ -54,7 +54,7 @@ abstract protected function update();
5454
/**
5555
* Delete a model
5656
*
57-
* @since DOKAN_LITE_SINCE
57+
* @since 3.0.0
5858
*
5959
* @return \WeDevs\Dokan\Abstracts\Model
6060
*/

includes/Abstracts/DokanShortcode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ abstract class DokanShortcode {
88

99
public function __construct() {
1010
if ( empty( $this->shortcode ) ) {
11-
dokan_doing_it_wrong( static::class, __( '$shortcode property is empty.', 'dokan-lite' ), 'DOKAN_LITE_SINCE' );
11+
dokan_doing_it_wrong( static::class, __( '$shortcode property is empty.', 'dokan-lite' ), '3.0.0' );
1212
}
1313

1414
add_shortcode( $this->shortcode, [ $this, 'render_shortcode' ] );

includes/Abstracts/DokanUpgrader.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ abstract class DokanUpgrader {
1313
* upgrader class dynamically. Keep in mind that methods
1414
* should be public static function.
1515
*
16-
* @since DOKAN_LITE_SINCE
16+
* @since 3.0.0
1717
*
1818
* @param string $required_lite_version Required in case of Pro upgraders
1919
*
@@ -49,7 +49,7 @@ public static function run( $required_lite_version = null ) {
4949
* for version 1.23.40, the the filename should be
5050
* V_1_23_40.php.
5151
*
52-
* @since DOKAN_LITE_SINCE
52+
* @since 3.0.0
5353
*
5454
* @return void
5555
*/
@@ -66,7 +66,7 @@ public static function update_db_version() {
6666
*
6767
* This method should be overriden in Dokan Pro
6868
*
69-
* @since DOKAN_LITE_SINCE
69+
* @since 3.0.0
7070
*
7171
* @return string
7272
*/

includes/Admin/Hooks.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*
77
* @package dokan
88
*
9-
* @since DOKAN_LITE_SINCE
9+
* @since 3.0.0
1010
*/
1111
class Hooks {
1212

1313
/**
1414
* Load autometically when class initiate
1515
*
16-
* @since DOKAN_LITE_SINCE
16+
* @since 3.0.0
1717
*/
1818
public function __construct() {
1919
// Load all actions

includes/Admin/Menu.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Menu {
77
/**
88
* Class constructor
99
*
10-
* @since DOKAN_LITE_SINCE
10+
* @since 3.0.0
1111
*
1212
* @return void
1313
*/
@@ -19,7 +19,7 @@ public function __construct() {
1919
* Add Dokan admin menu
2020
*
2121
* @since 1.0.0
22-
* @since DOKAN_LITE_SINCE Moved to Menu class
22+
* @since 3.0.0 Moved to Menu class
2323
*
2424
* @return void
2525
*/
@@ -66,7 +66,7 @@ public function add_admin_menu() {
6666
* Dashboard scripts and styles
6767
*
6868
* @since 1.0
69-
* @since DOKAN_LITE_SINCE Moved to Menu class
69+
* @since 3.0.0 Moved to Menu class
7070
*
7171
* @return void
7272
*/
@@ -86,7 +86,7 @@ public function dashboard_script() {
8686
* Load Dashboard Template
8787
*
8888
* @since 1.0
89-
* @since DOKAN_LITE_SINCE Moved to Menu class
89+
* @since 3.0.0 Moved to Menu class
9090
*
9191
* @return void
9292
*/

includes/Ajax.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ public function get_vendor_earning() {
935935
/**
936936
* Export witdraw requests
937937
*
938-
* @since DOKAN_LITE_SINCE
938+
* @since 3.0.0
939939
*
940940
* @return void
941941
*/

includes/Assets.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ public function enqueue_styles( $styles ) {
744744
/**
745745
* Admin localized scripts
746746
*
747-
* @since DOKAN_LITE_SINCE
747+
* @since 3.0.0
748748
*
749749
* @return array
750750
*/

includes/Commission.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public function prepare_for_calculation( $callable, $product_id = 0, $product_pr
458458
* Then make the commission type 'flat'. We are making it flat cause when commission type is there in database
459459
* But in option field, looks like flat commission is selected.
460460
*
461-
* @since DOKAN_LITE_SINCE
461+
* @since 3.0.0
462462
*/
463463
if ( ! dokan()->is_pro_exists() && 'combine' === $commission_type ) {
464464
$commission_type = 'flat';

includes/Dashboard/Manager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Manager {
1212
/**
1313
* Class constructor
1414
*
15-
* @since DOKAN_LITE_SINCE
15+
* @since 3.0.0
1616
*
1717
* @return void
1818
*/

includes/Dashboard/Templates/Manager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Manager {
1717
/**
1818
* Class constructor
1919
*
20-
* @since DOKAN_LITE_SINCE
20+
* @since 3.0.0
2121
*
2222
* @return void
2323
*/

includes/Dashboard/Templates/Products.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct() {
4040
/**
4141
* Set errors
4242
*
43-
* @since DOKAN_LITE_SINCE
43+
* @since 3.0.0
4444
*
4545
* @param void $errors
4646
*
@@ -53,7 +53,7 @@ public function set_errors( $errors ) {
5353
/**
5454
* Verify if the instance contains errors
5555
*
56-
* @since DOKAN_LITE_SINCE
56+
* @since 3.0.0
5757
*
5858
* @return bool
5959
*/
@@ -64,7 +64,7 @@ public function has_errors() {
6464
/**
6565
* Retrieve all errors
6666
*
67-
* @since DOKAN_LITE_SINCE
67+
* @since 3.0.0
6868
*
6969
* @return array
7070
*/

includes/Dashboard/Templates/Withdraw.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct() {
5050
/**
5151
* Add error to error bag
5252
*
53-
* @since DOKAN_LITE_SINCE
53+
* @since 3.0.0
5454
*
5555
* @param string $message
5656
* @param string $code
@@ -62,7 +62,7 @@ public function add_error( $message, $code = 'dokan_vendor_dashboard_template_wi
6262
/**
6363
* Get current withdraw status
6464
*
65-
* @since DOKAN_LITE_SINCE
65+
* @since 3.0.0
6666
*
6767
* @return string
6868
*/
@@ -95,7 +95,7 @@ public function handle_request() {
9595
/**
9696
* Handle withdraw cancellation request
9797
*
98-
* @since DOKAN_LITE_SINCE
98+
* @since 3.0.0
9999
*
100100
* @return void
101101
*/
@@ -154,7 +154,7 @@ protected function handle_cancel_request() {
154154
/**
155155
* Handle withdraw approval request
156156
*
157-
* @since DOKAN_LITE_SINCE
157+
* @since 3.0.0
158158
*
159159
* @return void
160160
*/
@@ -235,7 +235,7 @@ public function show_seller_enable_message() {
235235
/**
236236
* Print error messages
237237
*
238-
* @since DOKAN_LITE_SINCE
238+
* @since 3.0.0
239239
*
240240
* @param string $message
241241
* @param bool $deleted
@@ -258,7 +258,7 @@ protected function show_error_messages( $messages, $deleted = false ) {
258258
/**
259259
* Print warning message
260260
*
261-
* @since DOKAN_LITE_SINCE
261+
* @since 3.0.0
262262
*
263263
* @param string $message
264264
* @param bool $deleted

includes/Exceptions/DokanException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DokanException extends Exception {
1919
* Class constructor
2020
*
2121
* @since 2.9.16
22-
* @since DOKAN_LITE_SINCE $error_code can be instance of WP_Error which is
22+
* @since 3.0.0 $error_code can be instance of WP_Error which is
2323
* useful for multiple error codes and messages in
2424
* a single WP_Error instance.
2525
*

includes/Order/Hooks.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*
77
* @package dokan
88
*
9-
* @since DOKAN_LITE_SINCE
9+
* @since 3.0.0
1010
*/
1111
class Hooks {
1212

1313
/**
1414
* Load autometically when class initiate
1515
*
16-
* @since DOKAN_LITE_SINCE
16+
* @since 3.0.0
1717
*/
1818
public function __construct() {
1919
// on order status change
@@ -144,7 +144,7 @@ public function on_sub_order_change( $order_id, $old_status, $new_status ) {
144144
/**
145145
* Split order for vendor
146146
*
147-
* @since DOKAN_LITE_SINCE
147+
* @since 3.0.0
148148
*
149149
* @return void
150150
*/

includes/Order/Manager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Manager {
1212
/**
1313
* Get all orders
1414
*
15-
* @since DOKAN_LITE_SINCE
15+
* @since 3.0.0
1616
*
1717
* @return void
1818
*/
@@ -71,7 +71,7 @@ public function all( $args = [] ) {
7171
/**
7272
* Get single order details
7373
*
74-
* @since DOKAN_LITE_SINCE
74+
* @since 3.0.0
7575
*
7676
* @return void
7777
*/

0 commit comments

Comments
 (0)