Make WordPress Core


Ignore:
Timestamp:
10/20/2014 07:40:41 AM (10 years ago)
Author:
dd32
Message:

Avoid a PHP Notice in the PemFTP Library by adding a missing function parameter. This parameter is unused by WordPress.
Props hugodelgado. Fixes #29628

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-ftp.php

    r23425 r29969  
    505505    }
    506506
    507     function nlist($pathname="") {
     507    function nlist($pathname="", $arg="") {
    508508        return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
    509509    }
Note: See TracChangeset for help on using the changeset viewer.