[wp-trac] [WordPress Trac] #45136: wp-personal-data-export cron error if folder not exists - create folder
WordPress Trac
noreply at wordpress.org
Fri Mar 15 18:59:21 UTC 2019
#45136: wp-personal-data-export cron error if folder not exists - create folder
------------------------------+----------------------
Reporter: DuckDagobert | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"44910" 44910]:
{{{
#!CommitTicketReference repository="" revision="44910"
Privacy: Do not attempt to cleanup personal data export files when the
directory does not exist.
Checking for the presence of the directory and returning early prevents
PHP warnings when attempting to list files in a non-existent directory.
Props arena, garrett-eclipse.
Fixes #45136.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45136#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list