[wp-trac] [WordPress Trac] #52342: Update copy_dir and _copy_dir for $dirlist error reporting
WordPress Trac
noreply at wordpress.org
Thu Jan 28 18:22:53 UTC 2021
#52342: Update copy_dir and _copy_dir for $dirlist error reporting
-----------------------------+---------------------
Reporter: afragen | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.7
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch early | Focuses:
-----------------------------+---------------------
Comment (by afragen):
@dd32 the potential issue is that if the `dirlist()` fails the first time
through there is no error generated. This generates that error.
Yes if it triggers during one of the loops that is sufficient.
The `$first_pass` parameter is needed if there an issue with the initial
`dirlist()` only.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52342#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list