Open parhom opened 6 months ago
At first glance, it looks like WooCommerce is steamrolling the wp.media
object. The uploader isn't working well in my test environment without WooCommerce, either, though (WP 6.4.3, BP Docs 2.2.3, Twenty Twenty-One). If I select one item, it hangs, and when I select a second item, both are uploaded, which is new. They do upload successfully. But I can't upload just one item.
Though with WP6.4 I'm also seeing lots of errors on properties of the wp
object, in i18n
, ally
, and common
that only come into play on the edit screen, so it's possible that we need to generally take another look at the TinyMCE editor, to see if the method to invoke it has changed again. (Other than in the attachments JS file, we don't directly use the wp
JS object, so I'm guessing that it's editor related.) Rolling back to WP6.3 resolves all of these issues, whether WooCommerce is enabled or not.
Attachment files not added in /docs/create/ when WooCommerce plugin active