Skip to content

Commit

Permalink
fix: action product issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbir1991 committed Jan 2, 2020
1 parent 67999fa commit d9257cf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions depricated/class-dokan-taxonomy-walker.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

use WeDevs\Dokan\Walkers\TaxonomyDropdown\DokanTaxonomyWalker;

class DokanTaxonomyWalker extends DokanTaxonomyWalker {}
5 changes: 5 additions & 0 deletions depricated/class-dokan-template-products.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

use WeDevs\Dokan\Dashboard\Templates\Products;

class Dokan_Template_Products extends Products {}
2 changes: 2 additions & 0 deletions depricated/depricated-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ public function __construct() {
require_once $dir_path . '/Singleton.php';
require_once $dir_path . '/class-dokan-template-dashboard.php';
require_once $dir_path . '/class-dokan-template-settings.php';
require_once $dir_path . '/class-dokan-template-products.php';
require_once $dir_path . '/class-dokan-rest-controller.php';
require_once $dir_path . '/class-dokan-rest-product-controller.php';
require_once $dir_path . '/class-dokan-rest-store-controller.php';
require_once $dir_path . '/class-abstrct-dokan-rest-store-controller.php';
require_once $dir_path . '/class-dokan-vendor.php';
// require_once $dir_path . '/class-dokan-taxonomy-walker.php';
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/class.taxonomy-walker.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DokanTaxonomyWalker extends TaxonomyDropdown {
* @param int $post_id
*/
public function __construct( $post_id = '' ) {
dokan_doing_it_wrong( self::class, __( 'Use `WeDevs\Dokan\Walkers\TaxonomyDropdown` instead.', 'dokan-lite' ), 'Dokan:DOKAN_LITE_SINCE' );
// dokan_doing_it_wrong( self::class, __( 'Use `WeDevs\Dokan\Walkers\TaxonomyDropdown` instead.', 'dokan-lite' ), 'Dokan:DOKAN_LITE_SINCE' );
parent::__construct( $post_id );
}
}

0 comments on commit d9257cf

Please sign in to comment.