Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48506, comment 2


Ignore:
Timestamp:
11/06/2019 09:09:25 PM (5 years ago)
Author:
mpcube
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48506, comment 2

    initial v1  
     1It broke with this change:
     2
     3https://core.trac.wordpress.org/changeset/46476
     4
     5Before this, defining an UPLOADS constant beginning with "../" allowed Wordpress code and uploads to be side-by-side in seperate folders. This is now broken, because new directories for new months cannot me made.
     6
    17I dont' know, what exactly the reason for this change was, but for me the following solution would fit:
    28
     
    511In path_join(): replace /foo/bar/../baz with /foo/baz so that UPLOADS and $upload_path can be a string starting with ../
    612
     13https://foliovision.com/2019/11/wordpress-unable-to-create-directory
     14
     15https://www.trullala.de/wordpress-media-upload-broken/
     16
     17