Opened 17 months ago
Last modified 4 months ago
#58740 new defect (bug)
Slow load in media page of WordPress admin when having huge posts table
Reported by: | Twellve_Million | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 6.2.2 |
Component: | Media | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Slow load can be traced to this function.
// get_available_post_mime_types // wp-includes/post.php
From what I understand, this function tries to get all of the available mime type of attachment post type. When posts are over a hundred thousand, this is causing media page in admin to load in about half a minute (hosting performance relative).
I'd like to suggest a transient in this function. Will open a PR if this bug is approved.
Change History (1)
This ticket was mentioned in Slack in #core-media by antpb. View the logs.
4 months ago
Note: See
TracTickets for help on using
tickets.