-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Bug Description
Unfortunately, in the new version of Dokan and WooCommerce, there is a conflict and the files:
https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js
are not loaded.
The problem is solved by disabling the Dokan plugin.
To check the problem, go to the Add Product section
Select the Variable Product
Then you will see that nothing is loaded
Now go and disable the Dokan plugin
You will see that everything is correct!!!
I put this code in the template to temporarily solve the problem:
add_action('admin_enqueue_scripts', function ( ){
if (is_admin()) {
wp_enqueue_script(
'dompurify',
'https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js',
[],
null,
true
);
}
Please check as soon as possible. This is a very important problem.
Expand
Step To Reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Expected Behaviour
https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js
Actual Behaviour
https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js
Additional Information
No response
Environment (please complete the following information)
1. Dokan Version: [e.g. v3.1.2]
2. Dokan Pro Version: [e.g. v3.1.2]
3. WooCommerce Version: [e.g. v4.9.2]
4. Browser [e.g. chrome, safari]
5. Current Theme: [e.g. Store Front]