[wp-trac] [WordPress Trac] #53284: `error()` method passed too many parameters

WordPress Trac noreply at wordpress.org
Sat Nov 20 17:31:53 UTC 2021


#53284: `error()` method passed too many parameters
--------------------------------------+-----------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.0
Component:  Upgrade/Install           |     Version:  3.7
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------
Changes (by devutpol):

 * Attachment "53284.2.diff" added.

 I thought of a different solution and uploaded 53284-2.diff. WP_Error
 object is now stored in $upgrade_result with a new error and I believe it
 now works correctly. This is my first submission for WordPress Core so I
 apologize if I have made any mistakes with the Trac workflow.

-- 
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