[wp-trac] [WordPress Trac] #48949: ftp_rmdir(): Remove directory operation failed.
WordPress Trac
noreply at wordpress.org
Thu Dec 12 17:11:30 UTC 2019
#48949: ftp_rmdir(): Remove directory operation failed.
-----------------------------+------------------------------
Reporter: didax | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 5.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------------------
Comment (by didax):
Yes, that's fine.
I think that the check can be placed before (outside the conditional
statement) and simply return true because the file/dir was deleted.
Replying to [comment:1 anubisthejackle]:
> Something like the attached patch should do the trick: Verify the
directory exists before attempting to run the delete on it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48949#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list