[wp-trac] [WordPress Trac] #25650: When switching between blogs, wp_upload_dir 'baseurl' and 'url' may be pointing to the current blog not the switched one
WordPress Trac
noreply at wordpress.org
Thu Jun 5 13:07:48 UTC 2025
#25650: When switching between blogs, wp_upload_dir 'baseurl' and 'url' may be
pointing to the current blog not the switched one
--------------------------------------+-----------------------------
Reporter: igmoweb | Owner: ideag
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Upload | Version: 3.6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+-----------------------------
Comment (by ideag):
There is a world where we stop using `WP_CONTENT_URL` altogether if it was
not set before `default-constants.php`, but that would be a whole
different can of worms and probably much more dangerous to mess with.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25650#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list