Opened 12 years ago
Closed 12 years ago
#25887 closed defect (bug) (fixed)
$comparison is unused in maintenance_nag()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.7.2 | Priority: | normal |
| Severity: | normal | Version: | 3.7 |
| Component: | Upgrade/Install | Keywords: | has-patch commit fixed-major |
| Focuses: | Cc: |
Description
Noticed while working on #14028.
There's a line in maintenance_nag() that is supposed to change the comparison type in version_compare() in the next line (see the comment above): tags/3.7.1/src/wp-admin/includes/update.php#L356.
However, $comparison is unused, so it doesn't actually change anything.
Attachments (1)
Change History (7)
#3
@
12 years ago
I think this might be the cause of Viper007Bond's issue in #14028 actually.
The nag is only supposed to show for $attempted == $wp_version when a critical failure occurs, currently it shows even when a non-critical error occurs (such as aborting early due to files not writable).
The change appears correct.
#4
@
12 years ago
- Owner set to dd32
- Resolution set to fixed
- Status changed from new to closed
In 26186:
Note: See
TracTickets for help on using
tickets.
Introduced in [25872].