[wp-trac] [WordPress Trac] #61627: Introduce helper function get the unmodified value of `$wp_version`.

WordPress Trac noreply at wordpress.org
Mon Jul 29 14:51:01 UTC 2024


#61627: Introduce helper function get the unmodified value of `$wp_version`.
--------------------------------------+---------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"58826" 58826]:
 {{{
 #!CommitTicketReference repository="" revision="58826"
 General: Move `wp_get_wp_version()` to a more appropriate place.

 This places the function in a more predictable location, next to the
 `is_wp_version_compatible()` and `is_php_version_compatible()` functions.

 Follow-up to [58813].

 See #61627.
 }}}

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


More information about the wp-trac mailing list