Opened 8 years ago
Closed 6 years ago
#38311 closed defect (bug) (invalid)
Remove undefined variable `$port` in src/wp-admin/includes/class-ftp-sockets.php:141
Reported by: | miyauchi | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | External Libraries | Keywords: | |
Focuses: | Cc: |
Description
$port
is undefined in this function.
Attachments (1)
Change History (7)
#3
@
6 years ago
- Keywords reporter-feedback close added
@miyauchi Are you able to clarify if you were seeing a PHP notice?
Marking this as close
pending the answer to that question. Since this is an older external library that has not been updated in some time, I think we should only fix this if a notice is triggered.
Note: See
TracTickets for help on using
tickets.
Hi @miyauchi!
Does this cause a PHP Notice or similar for you, or was it discovered through a static analysis application or similar?
The reason I ask, is that although the variable is unused, it doesn't appear to cause any problems as it's a return by-ref variable, and part of an external library.