summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-08 13:15:02 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-08 13:15:02 +0000
commitdf0291bf93ac47a18e7cec154ff68f1410e94ab8 (patch)
tree39af82e8b4e137d76d349475f375e3024a7c2570 /wp-includes/functions.php
parent5e8d0094b69f1b2fd02798e8acff5a0db8b23139 (diff)
downloadwordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.tar.gz
wordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.tar.xz
wordpress-mu-df0291bf93ac47a18e7cec154ff68f1410e94ab8.zip
Minor whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1503 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index d66e275..9f482af 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -1481,7 +1481,7 @@ function wp_upload_dir( $time = NULL ) {
// $dir is absolute, $path is (maybe) relative to ABSPATH
$dir = path_join( ABSPATH, $dir );
-
+
if ( !$url = get_option( 'upload_url_path' ) ) {
if ( empty($upload_path) or ( $upload_path == $dir ) )
$url = WP_CONTENT_URL . '/uploads';
@@ -1515,7 +1515,7 @@ function wp_upload_dir( $time = NULL ) {
$message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' ), $dir );
return array( 'error' => $message );
}
-
+
$uploads = array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, 'basedir' => $bdir, 'baseurl' => $burl, 'error' => false );
return apply_filters( 'upload_dir', $uploads );