Ticket #48316: absolute-uploads.diff
File absolute-uploads.diff, 541 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/functions.php
1946 1946 * We also sometimes obey UPLOADS when rewriting is enabled -- see the next block. 1947 1947 */ 1948 1948 if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) ) { 1949 $dir = ABSPATH . UPLOADS;1949 $dir = path_join( ABSPATH , UPLOADS ); 1950 1950 $url = trailingslashit( $siteurl ) . UPLOADS; 1951 1951 }