[wp-trac] [WordPress Trac] #54477: wp-cli vague: "Warning: Could not create directory."
WordPress Trac
noreply at wordpress.org
Mon Oct 10 12:46:33 UTC 2022
#54477: wp-cli vague: "Warning: Could not create directory."
-------------------------------------------------+-------------------------
Reporter: gunterer | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Upgrade/Install | Version: 5.8
Severity: minor | Resolution: fixed
Keywords: good-first-bug has-patch has- | Focuses:
testing-info commit |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54442" 54442]:
{{{
#!CommitTicketReference repository="" revision="54442"
Upgrade/Install: Provide dirpath in error messages when
`_unzip_file_pclzip()` cannot create directories.
This changeset ensures the directory path is provided in error messages
when `_unzip_file_pclzip()` is unable to create a directory. This removes
`substr()` which was returning an empty string in some use cases.
Props gunterer, SergeyBiryukov, n8finch, peterwilsoncc, audrasjb,
rsiddharth, costdev , desrosj, mukesh27.
Fixes #54477.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54477#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list