[wp-trac] [WordPress Trac] #61116: Return value of `_wp_delete_all_temp_backups()` isn't used
WordPress Trac
noreply at wordpress.org
Sat Aug 17 19:53:01 UTC 2024
#61116: Return value of `_wp_delete_all_temp_backups()` isn't used
-----------------------------+-----------------------------
Reporter: johnbillion | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Upgrade/Install | Version: 6.3
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58906" 58906]:
{{{
#!CommitTicketReference repository="" revision="58906"
Upgrade/Install: Remove the return value of
`_wp_delete_all_temp_backups()`.
This function is only utilized as a `shutdown` action callback, so the
return value is not used anywhere.
`wp_trigger_error()` is now used instead under the same conditions.
Follow-up to [55720], [56342].
Props johnbillion, amitraj2203, narenin.
Fixes #61116.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61116#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list