[wp-trac] [WordPress Trac] #49446: cache the results of get_uploaded_header_images()
WordPress Trac
noreply at wordpress.org
Sun Oct 19 21:09:20 UTC 2025
#49446: cache the results of get_uploaded_header_images()
-------------------------------------+-------------------------------------
Reporter: pbiron | Owner: pbearne
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Themes | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch has-unit- | Focuses: administration,
tests close | performance
-------------------------------------+-------------------------------------
Comment (by peterwilsoncc):
In [changeset:"60979" 60979]:
{{{
#!CommitTicketReference repository="" revision="60979"
Themes: Remove caching todo from `get_uploaded_header_images()`.
Remove the note to introduce caching to `get_uploaded_header_images()` as
caching has since been introduced to `WP_Query` and therefore
`get_posts()`. The comment is out of date.
Props audrasjb, desrosj, flixos90, mukesh27, pbearne, pbiron,
sachinrajcp123, sergeybiryukov, swissspidy, westonruter, whyisjake.
See #49446, #63168.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49446#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list