Closed dkotter closed 1 year ago
In addition to the above, also found out that if you have the Generate descriptive text
option turned off, there's still a Scan Image
option that is available within the Media Library list view bulk action dropdown that we should look to remove:
Describe the bug
I have the
Generate descriptive text
option and theTag images
option turned off within the Image Processing settings for Microsoft Azure:But if I go and open an image in the Media Library, I still see the
Descriptive text
andImage tags
buttons:When I actually click on the buttons, requests are sent but luckily the code that runs does check to ensure those features are turned on before modifying any content (though API requests are still made which is a separate issue). Ideally we shouldn't be showing these buttons at all. For instance, we don't show the smart cropping button or OCR button if those features are turned off, so we should copy what's been done there for these other options.
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct