6f8a3b14af
* Avoid calling plugin_dir_url a lot * Fix crash if woocommerce admin is disabled With Woocommerce's PR https://github.com/woocommerce/woocommerce/pull/31991 applied, if woocommerce admin is disabled via the woocommerce_admin_disabled filter, the InboxNotifications block could crash. * Fix coding style * Simplify code path * Remove unused initialization |
||
---|---|---|
plugins/woocommerce-blocks |