Opened 11 years ago
Closed 10 years ago
#27975 closed defect (bug) (fixed)
On windows host using ftp, the 'islink' key is not available
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Filesystem API | Keywords: | has-patch commit |
Focuses: | administration | Cc: |
Description
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.
Either set the islink key (to false) on windows servers or move the islink test to the "not windows" part of the if-elseif.
Attachments (2)
Change History (6)
#1
@
11 years ago
- Keywords has-patch added
Calling WP_Filesystem_FTPext::parselisting( $line )
on Windows displays the following notice.
Notice: Undefined index: islink in /var/www/wp-admin/includes/class-wp-filesystem-ftpext.php on line 357
The patch checks if $b['islink']
is set before checking its value.
Note: See
TracTickets for help on using
tickets.
Check if index
islink
is set before evaluating it