[wp-trac] [WordPress Trac] #61291: WP-Admin Categories and Post Edit Page Slow Rendering Due to lot of hidden Taxonomies and Authors

WordPress Trac noreply at wordpress.org
Fri May 24 17:18:39 UTC 2024


#61291: WP-Admin Categories and Post Edit Page Slow Rendering Due to lot of hidden
Taxonomies and Authors
----------------------------+-----------------------------
 Reporter:  Slams           |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  6.5.3
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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

 [[Image(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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61291>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list