mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -156,7 +156,7 @@ class WP_Filesystem_Base {
|
||||
$this->cache[ $folder ] = $folder;
|
||||
return $folder;
|
||||
}
|
||||
if( $return = $this->search_for_folder($folder) )
|
||||
if ( $return = $this->search_for_folder($folder) )
|
||||
$this->cache[ $folder ] = $return;
|
||||
return $return;
|
||||
}
|
||||
@@ -288,8 +288,8 @@ class WP_Filesystem_Base {
|
||||
$legal = array('', 'w', 'r', 'x', '-');
|
||||
$attarray = preg_split('//', $mode);
|
||||
|
||||
for($i=0; $i < count($attarray); $i++)
|
||||
if($key = array_search($attarray[$i], $legal))
|
||||
for ($i=0; $i < count($attarray); $i++)
|
||||
if ($key = array_search($attarray[$i], $legal))
|
||||
$realmode .= $legal[$key];
|
||||
|
||||
$mode = str_pad($realmode, 9, '-');
|
||||
|
||||
Reference in New Issue
Block a user