[wp-trac] [WordPress Trac] #55227: Attachments: add caching to wp_count_attachments

WordPress Trac noreply at wordpress.org
Tue Feb 22 16:53:45 UTC 2022


#55227: Attachments: add caching to wp_count_attachments
-------------------------+-----------------------------
 Reporter:  jeherve      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:  performance  |
-------------------------+-----------------------------
 I noticed that while {{{wp_count_posts}}} includes some caching,
 {{{wp_count_attachments}} does not. Would it make sense to add the same
 caching system there?

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


More information about the wp-trac mailing list