[wp-trac] [WordPress Trac] #52342: Update copy_dir and _copy_dir for $dirlist error reporting

WordPress Trac noreply at wordpress.org
Tue Feb 2 17:21:59 UTC 2021


#52342: Update copy_dir and _copy_dir for $dirlist error reporting
------------------------------------+-----------------------------
 Reporter:  afragen                 |       Owner:  SergeyBiryukov
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  5.7
Component:  Upgrade/Install         |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch early commit  |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"50149" 50149]:
 {{{
 #!CommitTicketReference repository="" revision="50149"
 Upgrade/Install: Return a `WP_Error` from `copy_dir()` and `_copy_dir()`
 if the directory listing failed.

 Props afragen, dd32.
 Fixes #52342.
 }}}

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


More information about the wp-trac mailing list