[wp-trac] [WordPress Trac] #61782: Memoize wp_get_wp_version
WordPress Trac
noreply at wordpress.org
Thu Oct 3 21:59:13 UTC 2024
#61782: Memoize wp_get_wp_version
------------------------------------------+-----------------------------
Reporter: Cybr | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback close | Focuses:
------------------------------------------+-----------------------------
Comment (by peterwilsoncc):
@azaozz The upgrade routine returns the new version but I am not sure if
it assigned to the global on the current request or not. If not, then you
are correct that caching the value would match the current behaviour.
Colin's Slack status indicates he is has recently decided to take a break
from contributing to Core so I'll post a link to your comment in the
upgrade channel.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61782#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list