#34868 closed defect (bug) (fixed)
Use unmodified $wp_version in wp-includes/update.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Upgrade/Install | Keywords: | |
Focuses: | Cc: |
Description
[32635] (4.3) accidentally started globalizing $wp_version
in wp_version_check()
and related functions.
What ends up happening is it becomes global, then including wp-includes/version.php
actually overrides the global. Thus, the right information gets reported back to WordPress.org, and the rest of the pageload has an unadulterated $wp_version
.
We should still change this back to avoid stomping the global unnecessarily.
Change History (5)
#2
@
9 years ago
- Keywords fixed-major added
- Milestone changed from 4.5 to 4.4.1
- Resolution fixed deleted
- Status changed from closed to reopened
- Version set to 4.3
#3
@
9 years ago
As this went unnoticed in 4.3, and doesn't actually cause any major issues IMHO I don't think this really needs backporting.
Note: See
TracTickets for help on using
tickets.
In 35779: