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

WordPress Trac noreply at wordpress.org
Sat Jul 20 06:54:17 UTC 2024


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

 * keywords:  needs-unit-tests has-patch => has-patch has-unit-tests


Comment:

 I've attached some tests for the new function in
 [https://core.trac.wordpress.org/attachment/ticket/61627
 /wp_get_wp_version-tests.diff wp_get_wp_version-tests.diff]. If there are
 additional ideas for testing the new function, we can build on these.

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


More information about the wp-trac mailing list