[wp-trac] [WordPress Trac] #49446: cache the results of get_uploaded_header_images()
WordPress Trac
noreply at wordpress.org
Fri Jun 19 11:55:36 UTC 2020
#49446: cache the results of get_uploaded_header_images()
------------------------------+------------------------------------------
Reporter: pbiron | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: Cache API | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: administration, performance
------------------------------+------------------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:8 SergeyBiryukov]:
> Yes, it's used in core but for some reason not mentioned in the
handbook.
It turned out the `@staticvar` tag should not be used :) Follow-up:
#50426.
So [attachment:"49446.diff"] would be the preferred patch here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49446#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list