[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
Fri Jan 8 21:11:23 UTC 2016
#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:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 3.6.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+------------------------------
Changes (by chriscct7):
* keywords: dev-feedback => needs-patch
Comment:
Bug Scrub 1/8/2015 notes:
- The suggestion was made to introduce a function for which the current
content directory can be retrieved at any time, thus solving the
switch_to_blog bug. The suggested title for this function, which would
replace the use of the constant of the same name is wp_content_dir()
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25650#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list