[wp-trac] [WordPress Trac] #27975: On windows host using ftp, the 'islink' key is not available
WordPress Trac
noreply at wordpress.org
Tue Apr 22 16:43:28 UTC 2014
#27975: On windows host using ftp, the 'islink' key is not available
----------------------------+-----------------------------
Reporter: joostdekeijzer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: trunk
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
WP_Filesystem_FTPext::parselisting creates the $b array. Almost near the
end of the method the value of $['islink'] is tested but that key isn't
set on windows servers.
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
wp-filesystem-ftpext.php#L356
Either set the islink key (to false) on windows servers or move the islink
test to the "not windows" part of the if-elseif.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list