More phpdoc typo fixes. See #17414 props Utkarsh

git-svn-id: http://svn.automattic.com/wordpress/trunk@17926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi
2011-05-14 09:56:59 +00:00
parent 65e341d0cb
commit 53ce9d6f50
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
/**
* constructor
*
* @param mixed $arg ingored argument
* @param mixed $arg ignored argument
*/
function __construct($arg) {
$this->method = 'direct';
@@ -222,7 +222,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
function delete($file, $recursive = false, $type = false) {
if ( empty($file) ) //Some filesystems report this as /, which can cause non-expected recursive deletion of all files in the filesystem.
return false;
$file = str_replace('\\', '/', $file); //for win32, occasional problems deleteing files otherwise
$file = str_replace('\\', '/', $file); //for win32, occasional problems deleting files otherwise
if ( 'f' == $type || $this->is_file($file) )
return @unlink($file);