[wp-trac] [WordPress Trac] #61782: Memoize wp_get_wp_version

WordPress Trac noreply at wordpress.org
Sun Aug 4 22:07:22 UTC 2024


#61782: Memoize wp_get_wp_version
------------------------------------+-----------------------------
 Reporter:  Cybr                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  6.7
Component:  General                 |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by peterwilsoncc):

 In [changeset:"58848" 58848]:
 {{{
 #!CommitTicketReference repository="" revision="58848"
 General: Removing static from `wp_get_wp_version()`.

 Removes the static storing the version number in `wp_get_wp_version()` to
 ensure the version number is reported correctly after a WordPress upgrade
 is completed.

 Reverts [58827].

 Props costdev, SergeyBiryukov, Cybr.
 See #61782.
 }}}

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


More information about the wp-trac mailing list