[wp-trac] [WordPress Trac] #58563: Undefined variable $checkout in class-wp-automatic-updater.php line 175
WordPress Trac
noreply at wordpress.org
Sun Jul 2 10:33:32 UTC 2023
#58563: Undefined variable $checkout in class-wp-automatic-updater.php line 175
-------------------------------------------------+-------------------------
Reporter: jqz | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Upgrade/Install | Version: 6.2
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"56124" 56124]:
{{{
#!CommitTicketReference repository="" revision="56124"
Upgrade/Install: Initialize the local `$checkout` variable in
`WP_Automatic_Updater::is_vcs_checkout()`.
This avoids an `Undefined variable $checkout` PHP warning if all of the
directories checked for access are disallowed due to the PHP
`open_basedir` restrictions.
Follow-up to [55425].
Props jqz, costdev, audrasjb.
Fixes #58563.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58563#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list