WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18489, comment 6


Ignore:
Timestamp:
08/22/11 18:10:00 (4 years ago)
Author:
eddiemoya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18489, comment 6

    initial v1  
    66 
    77 
    8 This patch should not interfere with any of that. wp_upload_dir has logic that deals with multisite which I have not modified. All I've done is replace instances of WP_CONTENT_DIR . '/uploads' with WP_UPLOADS_DIR, which itself is a definition of WP_CONTENT_DIR_ . '/uploads'. The same applies to WP_CONTENT_URL. 
     8This patch should not interfere with any of that. wp_upload_dir has logic that deals with multisite which I have not modified. All I've done is replace instances of WP_CONTENT_DIR . '/uploads' with WP_UPLOADS_DIR, which itself is a definition of WP_CONTENT_DIR_ . '/uploads'. The same applies to WP_UPLOADS_URL. 
    99 
    1010None of the behavior of wp_uploads_dir changes here, all that has happened is thats the concatenation of WP_CONTENT_DIR with /uploads happens in default-constants.php rather than being hardcoded within the function itself.