[wp-trac] [WordPress Trac] #58563: Undefined variable $checkout in class-wp-automatic-updater.php line 175

WordPress Trac noreply at wordpress.org
Sat Jun 24 12:05:10 UTC 2023


#58563: Undefined variable $checkout in class-wp-automatic-updater.php line 175
---------------------------------------------------+---------------------
 Reporter:  jqz                                    |       Owner:  (none)
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  6.3
Component:  Upgrade/Install                        |     Version:  6.2
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch has-unit-tests dev-feedback  |     Focuses:
---------------------------------------------------+---------------------
Changes (by costdev):

 * keywords:  has-patch has-unit-tests needs-testing-info needs-testing =>
     has-patch has-unit-tests dev-feedback


Comment:

 Thanks a lot @jqz!

 @audrasjb I'm thinking that [https://github.com/WordPress/wordpress-
 develop/pull/4630 PR 4630] could be committed in 6.3. Since this ticket is
 specifically about the `$checkout` variable's definition being dependent
 on a `foreach` loop, the PR targets this issue and includes PHPUnit tests,
 and so this ticket could be closed after the PR is committed.

 We could then take the information from @jqz into a separate ticket to
 focus on investigating and resolving the Windows-specific issue that
 exposed the undefined `$checkout`. What do you think?

 For now, I'm removing `needs-testing` and `needs-testing-info`, as this
 pertains to the Windows-specific issue, which may be separated into a
 different ticket.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58563#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list