[wp-trac] [WordPress Trac] #39242: Add caching to count_user_posts()

WordPress Trac noreply at wordpress.org
Fri Jan 31 18:50:33 UTC 2025


#39242: Add caching to count_user_posts()
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:  whyisjake
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:  rest-api,
  testing has-unit-tests                         |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 I have created a simplier PR in [https://github.com/WordPress/wordpress-
 develop/pull/8233 #8233]. This aligns more closely with other query
 caches, that use the last update value of the post group to invalidate
 caches.

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


More information about the wp-trac mailing list