Changeset 8216
- Timestamp:
- 06/30/2008 03:33:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r8215 r8216 1485 1485 // $dir is absolute, $path is (maybe) relative to ABSPATH 1486 1486 $dir = path_join( ABSPATH, $upload_path ); 1487 $path = str_replace( ABSPATH, '', trim( $upload_path ) );1488 1487 1489 1488 if ( !$url = get_option( 'upload_url_path' ) ) 1490 $url = trailingslashit( $siteurl ) . $path;1489 $url = WP_CONTENT_URL . '/uploads'; 1491 1490 1492 1491 if ( defined('UPLOADS') ) { … … 1494 1493 $url = trailingslashit( $siteurl ) . UPLOADS; 1495 1494 } 1496 1495 1497 1496 $subdir = ''; 1498 1497 if ( get_option( 'uploads_use_yearmonth_folders' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.