[wp-trac] [WordPress Trac] #49446: cache the results of get_uploaded_header_images()

WordPress Trac noreply at wordpress.org
Thu Jul 31 00:31:59 UTC 2025


#49446: cache the results of get_uploaded_header_images()
-------------------------------------+-------------------------------------
 Reporter:  pbiron                   |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  6.9
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  administration,
  tests changes-requested            |  performance
-------------------------------------+-------------------------------------

Comment (by peterwilsoncc):

 Caching was added to `WP_Query` (and therefore `get_posts()`) in WordPress
 6.1 so the `@todo` notice is out of date and I don't think this is
 required any more as it would add a duplicate cache.

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


More information about the wp-trac mailing list