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

WordPress Trac noreply at wordpress.org
Tue Jun 23 23:41:29 UTC 2020


#49446: cache the results of get_uploaded_header_images()
-------------------------+------------------------------------------
 Reporter:  pbiron       |       Owner:  desrosj
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  5.5
Component:  Cache API    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration, performance
-------------------------+------------------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch commit => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The commit message in [48152] is misleading, it provides a performance
 improvement for `_media_states()`, but does not actually add caching to
 `get_uploaded_header_images()`.

 I believe there's still benefit in doing the latter, as it's used in some
 other places.

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


More information about the wp-trac mailing list