Fixes permission issues when flushing all logs or bulk deleting logs from the database.
This vulnerability affects the following application versions:
- WooCommerce 8.4.0
- WooCommerce 8.4.0-beta.1
- WooCommerce 8.4.0-rc.1
- WooCommerce 8.4.1
- WooCommerce 8.4.2
- WooCommerce 8.4.3