Opened 13 years ago
Closed 13 years ago
#25757 closed defect (bug) (fixed)
Warning when auto-upgrading core
| Reported by: | pento | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7.1 |
| Component: | Upgrade/Install | Version: | 3.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Warning: version_compare() expects parameter 2 to be string, object given in /srv/www/wordpress-default/wp-admin/includes/class-wp-upgrader.php on line 2138
Attachments (1)
Change History (7)
#1
@
13 years ago
- Component General → Upgrade/Install
- Keywords commit added
- Milestone Awaiting Review → 3.7.1
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Just to confirm, version_compare() returns NULL in this case, so $newer_version_available would be false.
Basically, this variable is for using different language in the email when we've auto-updated them to 3.7.4 but 3.8.2 is available. If someone is on 3.7 and is somehow not auto-updated to 3.7.1, but they later enable automatic updates and get to the point where 3.7.4 and 3.8.2 are released at the same time, that's really the only time they'd be affected by this change.