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

WordPress Trac noreply at wordpress.org
Tue Apr 15 19:31:53 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 johnjamesjacoby):

 The attached diff mitigates the fatal error. I am +1 to it being committed
 into 6.9.

 Despite some debugging, it’s still unclear how `ms-files.php` can be
 requested without `ms_upload_constants()` being called – unless perhaps
 `ms_files_rewriting` is unexpectedly being flipped.

 I haven’t been able to reproduce the fatal error so far.

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


More information about the wp-trac mailing list