Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
Describe the bug
When editing an image Attachment in the Media Library, Rank Math adds a checkbox with the label "Exclude this image from sitemap". However, the same wording appears when editing a non-image Attachment, such as a CSV file.
To Reproduce
Steps to reproduce the behavior:
Go to WordPress Admin > Media
Click on any non-image Attachment
Note the incorrect wording on the label "Exclude this image from sitemap"
Expected behavior
The label's text should be contextualised based on the file type being edited, and not assume it is always an image.
Alternatively, if Rank Math cannot include/exclude certain file types from the sitemap, the option should/should not display accordingly.
Describe the bug When editing an image Attachment in the Media Library, Rank Math adds a checkbox with the label "Exclude this image from sitemap". However, the same wording appears when editing a non-image Attachment, such as a CSV file.
To Reproduce Steps to reproduce the behavior:
Expected behavior The label's text should be contextualised based on the file type being edited, and not assume it is always an image. Alternatively, if Rank Math cannot include/exclude certain file types from the sitemap, the option should/should not display accordingly.
Screenshots