mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
wp-fs fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -122,9 +122,9 @@ class WP_Filesystem_ftpsockets{
|
||||
return $this->find_base_dir('/',$echo);
|
||||
}
|
||||
|
||||
function get_base_dir($base = '.'){
|
||||
function get_base_dir($base = '.', $echo = false){
|
||||
if( empty($this->wp_base) )
|
||||
$this->wp_base = $this->find_base_dir($base);
|
||||
$this->wp_base = $this->find_base_dir($base, $echo);
|
||||
return $this->wp_base;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user