Fix fs_no_folder error message display. Props jeff_. fixes #10608
git-svn-id: https://develop.svn.wordpress.org/trunk@11861 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e35ee1c6a
commit
3edc03c047
|
@ -94,7 +94,7 @@ class WP_Upgrader {
|
|||
return new WP_Error('fs_no_themes_dir', $this->strings['fs_no_themes_dir']);
|
||||
|
||||
elseif ( ! $wp_filesystem->find_folder($dir) )
|
||||
return new WP_Error('fs_no_folder', sprintf($strings['fs_no_folder'], $dir));
|
||||
return new WP_Error('fs_no_folder', sprintf($this->strings['fs_no_folder'], $dir));
|
||||
}
|
||||
return true;
|
||||
} //end fs_connect();
|
||||
|
|
Loading…
Reference in New Issue