[wp-trac] [WordPress Trac] #51029: Typo in variable name causes warning from fclose()
WordPress Trac
noreply at wordpress.org
Sat Aug 15 20:44:58 UTC 2020
#51029: Typo in variable name causes warning from fclose()
-----------------------------+-----------------------------
Reporter: gothick@… | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 5.5
Severity: minor | Keywords:
Focuses: |
-----------------------------+-----------------------------
PHP warning emitted when get_contents() calls fclose($temphangle) (should
be $temphandle) in class-wp-filesystem-ftpext.php during ftp self-update.
{{{
PHP message: PHP Warning: fclose() expects parameter 1 to be resource,
null given in /var/www/user-rw/splendid-things.co.uk/wp/site/wp-
admin/includes/class-wp-filesystem-ftpext.php on line 159', referer: https
://splendid-things.co.uk/wp-admin/network/update.php?action=update-
selected-
themes&themes=twentyeleven%2Ctwentyfifteen%2Ctwentyfourteen%2Ctwentynineteen%2Ctwentyten%2Ctwentythirteen%2Ctwentytwelve%2Ctwentytwenty&_wpnonce=f7cde49708
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51029>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list