rankmath / seo-by-rank-math

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: →
https://rankmath.com
107 stars 52 forks source link

Media Library: "Exclude this image from sitemap" wording isn't contextualised #97

Closed n7studios closed 2 years ago

n7studios commented 3 years ago

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:

  1. Go to WordPress Admin > Media
  2. Click on any non-image Attachment
  3. 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.

Screenshots Screenshot_2021-10-12_at_15_01_40

n7studios commented 2 years ago

Closing as this seems to have been addressed in 1.0.79: https://rankmath.com/changelog/free/

Screenshot 2022-01-06 at 13 56 17

Thanks!