[wp-trac] [WordPress Trac] #59320: Fatal error while processing failed plugin upgrade
WordPress Trac
noreply at wordpress.org
Sun Sep 10 07:32:02 UTC 2023
#59320: Fatal error while processing failed plugin upgrade
------------------------------+----------------------
Reporter: akihiroharai | Owner: costdev
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3.2
Component: Upgrade/Install | Version: 6.3
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by costdev):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56550" 56550]:
{{{
#!CommitTicketReference repository="" revision="56550"
Upgrade/Install: Fix broken `sprintf()` call when deleting a backup.
In `WP_Upgrader::delete_temp_backup()`, a malformed `sprintf()` call did
not pass the value, triggering a Warning in PHP 7 and a Fatal Error in PHP
8.
This fixes the malformed `sprintf()` call by correctly passing the value.
Follow-up to [55720].
Props akihiroharai, afragen.
Fixes #59320.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59320#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list