[wp-trac] [WordPress Trac] #63004: Allow `count_many_users_posts()` to be short-circuited

WordPress Trac noreply at wordpress.org
Sat Feb 22 21:01:22 UTC 2025


#63004: Allow `count_many_users_posts()` to be short-circuited
-------------------------+------------------------------------------
 Reporter:  ethitter     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration, performance
-------------------------+------------------------------------------

Comment (by ethitter):

 I'll add the documentation on Monday; I'm kicking myself for omitting it.

 I can see adding a default callback to the filter, but given the first
 scenario I described, I still believe a filter is useful for situations
 where the counts are never used.

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


More information about the wp-trac mailing list