[wp-trac] [WordPress Trac] #39179: Media has incorrect File URL on site with alternate uploads folder
WordPress Trac
noreply at wordpress.org
Thu Dec 8 05:16:27 UTC 2016
#39179: Media has incorrect File URL on site with alternate uploads folder
--------------------------+------------------------------
Reporter: oxfordian3 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.7
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by oxfordian3):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:1 dd32]:
> Hi @oxfordian3 and welcome to Trac
>
> Do you experience the same scenario when `define('UPLOADS', 'files');`
is placed before `require_once(ABSPATH . 'wp-settings.php');`? Defining it
after isn't supposed to be supported (AFAIK).
Hi @dd32
I moved `define('UPLOADS', 'files');` to before `require_once(ABSPATH .
'wp-settings.php');` and that fixed it. The Media Library shows File URL
in the right place, and missing thumbnails are now displaying correctly.
Can mark ticket as resolved. Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39179#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list