#34868 closed defect (bug) (fixed)
Use unmodified $wp_version in wp-includes/update.php
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Upgrade/Install | Version: | 4.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
11 years ago
- Keywords fixed-major added
- Milestone 4.5 → 4.4.1
- Resolution fixed
- Status closed → reopened
- Version → 4.3
#3
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 35779: