diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-03-30 19:25:35 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-03-30 19:25:35 +0000 |
commit | fc1990dbd27523d4dccee56b539da4a55d2ce0c1 (patch) | |
tree | 8de98c1fe17af3649a40a1947c24db20f44146b7 /tests | |
parent | 979cd7fa71bb32187cc51fd4a79853bf7e2e9952 (diff) | |
download | wordpress-fc1990dbd27523d4dccee56b539da4a55d2ce0c1.tar.gz wordpress-fc1990dbd27523d4dccee56b539da4a55d2ce0c1.zip |
Upgrade/Install: Pass stored credentials to `WP_Filesystem()` in `WP_Upgrader`.
When using a non-direct filesystem, the call in `WP_Upgrader::maintenance_mode()` did not include the required credentials, leading to a fatal error as the connection was not initialized properly.
This commit attempts to use the stored credentials if available, and triggers a notice otherwise.
Follow-up to [56341], [58128].
Props SirLouen, hideishi, dd32, tusharaddweb, takuword, SergeyBiryukov.
Fixes #62718.
git-svn-id: https://develop.svn.wordpress.org/trunk@60107 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions