Compatibility with xstore theme
-
Currently if you were to use latest xstore theme with this plugin you would not be able to see woocommerce order details in wp-admin. Thats due to declaration of enqueue_select2_jquery function in multiparcels-shipping-for-woocommerce/includes/class-mp-woocommerce.php without checking if its not declared before.
/home/public_html/wp-content/plugins/multiparcels-shipping-for-woocommerce/includes/class-mp-woocommerce.php. Klaidos prane?imas: Cannot redeclare enqueue_select2_jquery() (previously declared in /home/public_html/wp-content/themes/xstore/framework/custom-metaboxes.php:794)
If you were to wrap declarations of enqueue_select2_jquery in check whether function exists or not, this would prevent all such crashes.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.