[wp-trac] [WordPress Trac] #62774: The query in the count_user_posts function within wp-includes/user.php can be optimized to improve performance.

WordPress Trac noreply at wordpress.org
Fri Jan 3 07:05:43 UTC 2025


#62774: The query in the count_user_posts function within wp-includes/user.php can
be optimized to improve performance.
---------------------------+------------------------------
 Reporter:  deepakrohilla  |       Owner:  deepakrohilla
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Database       |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+------------------------------

Comment (by mukesh27):

 In #39242, It add the caching to `count_user_posts()` that also help to
 improve the performance.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62774#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list