Make WordPress Core

Opened 6 months ago

Last modified 5 months ago

#61291 new defect (bug)

WP-Admin Categories and Post Edit Page Slow Rendering Due to lot of hidden Taxonomies and Authors

Reported by: slams's profile Slams Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5.3
Component: Administration Keywords:
Focuses: Cc:

Description

When viewing the post list on the /wp-admin/edit.php page and editing a post on the /wp-admin/post.php (classic editor) page, there is a significant delay in page rendering. This delay occurs because all taxonomies and authors are being loaded in a hidden manner. If the number of taxonomies is large and the number of authors exceeds 9000, the page rendering time can exceed 20 seconds. Didn't noticed

https://github.com/WordPress/WordPress/blob/991a96b968b1f0662e03edff0607f09dc9cb9b4e/wp-admin/includes/class-wp-posts-list-table.php#L1763

https://i.imgur.com/hH7SYmR.png

Steps to Reproduce
Create 9k+ users
Create 100+ taxonomies

Navigate to the /wp-admin/edit.php page to view the list of all posts.
Observe the time taken for the page to fully load.

Navigate to the /wp-admin/post.php with Classic Editor page to edit an existing post.
Observe the time taken for the page to fully load.

Change History (4)

#1 @Slams
6 months ago

*This issue was not noticed before version 6.5.3.

This ticket was mentioned in Slack in #core-test by ankit-k-gupta. View the logs.


6 months ago

#3 @sumitbagthariya16
5 months ago

I attempted to reproduce the issue following the provided instructions but was unable to do so. Can anyone else try to reproduce the issue to confirm?

https://prnt.sc/hZp0H7J_31Wz

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


5 months ago

Note: See TracTickets for help on using tickets.