[wp-trac] [WordPress Trac] #62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since 6.6 with PHP 8.0+
WordPress Trac
noreply at wordpress.org
Wed Apr 23 22:27:14 UTC 2025
#62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since
6.6 with PHP 8.0+
-------------------------------------------------+-------------------------
Reporter: hideishi | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.8.1
Component: Upgrade/Install | Version: 6.6
Severity: major | Resolution:
Keywords: has-testing-info has-patch dev- | Focuses:
feedback needs-testing |
-------------------------------------------------+-------------------------
Comment (by takuword):
I followed the instructions from [comment:23 SirLouen] by setting
`LOCAL_FTP=true` in the `.env` file and temporarily moving the `.git`
directory to `.git.bak` to avoid triggering the
`WP_Automatic_Updater::is_vcs_checkout()` check, which would prevent
automatic updates in my environment. I have confirmed that the patch is
working and has fixed the issue.
I used the same environment as mentioned in the comment above.
As I'm going to test in other environments as well, I will let you all
know if any problems arise.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62718#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list