[wp-trac] [WordPress Trac] #63104: Undefined constant "BLOGUPLOADDIR" for subdirectory multisites

WordPress Trac noreply at wordpress.org
Tue Apr 15 20:15:51 UTC 2025


#63104: Undefined constant "BLOGUPLOADDIR" for subdirectory multisites
----------------------------------------+------------------------
 Reporter:  danielpw                    |       Owner:  realloc
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.9
Component:  Networks and Sites          |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-testing-info has-patch  |     Focuses:  multisite
----------------------------------------+------------------------

Comment (by jakeparis):

 Not sure if you're looking for someone else to debug, but I can reproduce
 this on our mu site. We have a blogs.dir in use.

 Site id: **174**
 Site name: **news**

 The url looks like:

 {{{
 ourdomain.org/news/files/2025/03/FINALS-DAY-3-228-1.webp
 }}}

 I can confirm the file actually exists in the file system at

 {{{
 .../htdocs/wp-content/blogs.dir/174/files/2025/03/FINALS-DAY-3-228-1.webp
 }}}
 and the file ''is'' visible at
 {{{
 ourdomain.org/wp-content/blogs.dir/174/files/2025/03/FINALS-
 DAY-3-228-1.webp
 }}}

 as well. But the editor wants to insert all images with the `/files/` bit
 in the path, and none of our images show up in the editor.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63104#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list