[wp-trac] [WordPress Trac] #53284: `error()` method passed too many parameters
WordPress Trac
noreply at wordpress.org
Wed May 26 18:56:05 UTC 2021
#53284: `error()` method passed too many parameters
-----------------------------+----------------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Keywords: good-first-bug needs-patch
Focuses: |
-----------------------------+----------------------------------------
In `src/wp-admin/includes/class-wp-automatic-updater.php`, there is a
[https://core.trac.wordpress.org/browser/branches/5.7/src/wp-
admin/includes/class-wp-automatic-updater.php#L416 call to the
`$skin->error()` method passing two parameters], but
[https://core.trac.wordpress.org/browser/branches/5.7/src/wp-
admin/includes/class-wp-upgrader-skin.php#L165 this method only accepts
1].
Introduced in [25421].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53284>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list