Changeset 8280
- Timestamp:
- 07/07/2008 11:53:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r8266 r8280 1496 1496 $url = trailingslashit( $siteurl ) . UPLOADS; 1497 1497 } 1498 1498 1499 $bdir = $dir; 1500 $burl = $url; 1501 1499 1502 $subdir = ''; 1500 1503 if ( get_option( 'uploads_use_yearmonth_folders' ) ) { … … 1516 1519 } 1517 1520 1518 $uploads = array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, ' error' => false );1521 $uploads = array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, 'basedir' => $bdir, 'baseurl' => $burl, 'error' => false ); 1519 1522 return apply_filters( 'upload_dir', $uploads ); 1520 1523 }
Note: See TracChangeset
for help on using the changeset viewer.