[wp-trac] [WordPress Trac] #61782: Memoize wp_get_wp_version
WordPress Trac
noreply at wordpress.org
Wed Sep 4 23:26:07 UTC 2024
#61782: Memoize wp_get_wp_version
------------------------------------------+-----------------------------
Reporter: Cybr | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: trunk
Severity: normal | Resolution: maybelater
Keywords: has-patch dev-feedback close | Focuses:
------------------------------------------+-----------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => maybelater
* milestone: 6.7 =>
Comment:
I agree with @desrosj & @TobiasBg that using a static and a `$force`
parameter isn't worth the benefit a static or other caching provides.
As the use of the function increases, it may be worth reconsidering so
I've closed this as maybelater.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61782#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list