Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#59742 new defect (bug)

Media library should display the number of pages/posts/urls a particular media file is being used in.

Reported by: rsiddiqe's profile rsiddiqe Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description

For managing media files, WordPress requires you to navigate from the Media Library. However, selecting a file doesn't offer any information on the published pages/posts that are actively using the file.

This information is necessary to effectively manage storage and replacing media without losing essential files or causing dependency issues.

Selecting a file from the media library should ideally, at minimum show the number of published pages/posts it's in use. Best case would be to make the number a clickable item, that shows a list of all URLs using the file.

Attachments (1)

Screenshot 2023-10-26 at 2.16.51 PM.png (511.3 KB) - added by rsiddiqe 4 months ago.
Context menu upon selecting a file in media library

Download all attachments as: .zip

Change History (6)

@rsiddiqe
4 months ago

Context menu upon selecting a file in media library

#1 @sabernhardt
4 months ago

  • Component changed from General to Media

#2 @ababir
4 months ago

Hi,
The "View attachment page" link does not actually show the page where the image is used. It simply creates a demo page and displays the image on that page.

This could show a list of the URLs the image is used in.

This ticket was mentioned in Slack in #core-test by krupajnanda. View the logs.


4 months ago

#4 @ashikur698
4 months ago

WordPress doesn't show the location or pages the media is in use. This makes errors on many pages for deleting the media in use. If this feature is added, it has the potential to solve many errors on the WordPress site.

#5 @pbearne
4 months ago

#59753 linked ticket

Note: See TracTickets for help on using tickets.