[wp-trac] [WordPress Trac] #44158: Privacy: When path not created wp_mkdir_p() returns false, not WP_Error
WordPress Trac
noreply at wordpress.org
Mon May 21 12:01:42 UTC 2018
#44158: Privacy: When path not created wp_mkdir_p() returns false, not WP_Error
--------------------------+-----------------------------
Reporter: birgire | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.7
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"43300" 43300]:
{{{
#!CommitTicketReference repository="" revision="43300"
Privacy: Correct the error check when creating an export folder in
`wp_privacy_generate_personal_data_export_file()`.
`wp_mkdir_p()` returns `false` on error, not a `WP_Error` object.
Props birgire.
Merges [43299] to the 4.9 branch.
Fixes #44158.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44158#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list