Pedantic whitespace in validate_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@18543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
054b4f8800
commit
31e6144688
|
@ -3611,7 +3611,7 @@ function validate_file( $file, $allowed_files = '' ) {
|
|||
if ( false !== strpos( $file, './' ) )
|
||||
return 1;
|
||||
|
||||
if (!empty ( $allowed_files ) && (!in_array( $file, $allowed_files ) ) )
|
||||
if ( ! empty( $allowed_files ) && ! in_array( $file, $allowed_files ) )
|
||||
return 3;
|
||||
|
||||
if (':' == substr( $file, 1, 1 ) )
|
||||
|
|
Loading…
Reference in New Issue