Make WordPress Core

Ticket #32704: wp.patch

File wp.patch, 421 bytes (added by ilanco, 9 years ago)
  • wp-includes/functions.php

    diff --git a/wp-includes/functions.php b/wp-includes/functions.php
    index 728bb1a..6162dc8 100644
    a b function wp_upload_dir( $time = null ) { 
    18011801                        else
    18021802                                $dir = ABSPATH . UPLOADS;
    18031803                        $url = trailingslashit( $siteurl ) . 'files';
     1804        } elseif (defined( 'BLOGUPLOADDIR' )) {
     1805                        $dir = untrailingslashit( BLOGUPLOADDIR );
    18041806                }
    18051807        }
    18061808