[wp-trac] [WordPress Trac] #61781: Use unadulterated WP version in `is_wp_version_compatible()`
WordPress Trac
noreply at wordpress.org
Fri Aug 2 22:36:43 UTC 2024
#61781: Use unadulterated WP version in `is_wp_version_compatible()`
--------------------------------------+----------------------
Reporter: peterwilsoncc | Owner: costdev
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58843" 58843]:
{{{
#!CommitTicketReference repository="" revision="58843"
General: Use clean WordPress version in `is_wp_version_compatible()`.
Update `is_wp_version_compatible()` to use `wp_get_wp_version()`
introduced in [58813] to ensure the value of `$wp_version` has not been
modified by a theme or plugin.
Props costdev, mukesh27, Cybr, sergeybiryukov.
Fixes #61781.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61781#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list