Opened 11 years ago
Closed 11 years ago
#25757 closed defect (bug) (fixed)
Warning when auto-upgrading core
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.7.1 | Priority: | normal |
Severity: | normal | Version: | 3.7 |
Component: | Upgrade/Install | Keywords: | has-patch commit |
Focuses: | Cc: |
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
@
11 years ago
- Component changed from General to Upgrade/Install
- Keywords commit added
- Milestone changed from Awaiting Review to 3.7.1
Note: See
TracTickets for help on using
tickets.
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.