[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 11:58:21 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
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43299" 43299]:
 {{{
 #!CommitTicketReference repository="" revision="43299"
 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.
 Fixes #44158.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44158#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list