Unnecessary wp block editor assets in frontend
-
Looks like method enqueue_block_assets() in StockManager class should check if request is admin or preview before wp_enqueue_script() call.
Currently this is causing unnecessary script bloat in frontend and request to /wp-json/wp/v2/users/me?context=edit&_locale=user which fails miserably with 401 error if user is not logged in.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.