Opened 15 years ago
Closed 15 years ago
#13191 closed defect (bug) (fixed)
admin_url does not respect WP_SITEURL
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | |
Focuses: | Cc: |
Description
Defining WP_SITEURL in wp-config.php has no effect on the URL provided by admin_url().
Change History (4)
#1
@
15 years ago
- Milestone Unassigned deleted
- Resolution set to worksforme
- Status changed from new to closed
#2
@
15 years ago
- Milestone set to 3.0
- Resolution worksforme deleted
- Status changed from closed to reopened
#3
@
15 years ago
- Component changed from General to Multisite
Okay, it looks like on a multisite blog, get_blogaddress_by_id will not respect WP_SITEURL and WP_HOME, as to enforce those, we simply filter get_option. Thus, on multisite for a different blog, we don't necessarily return the correct URL.
That said, the ticket is otherwise invalid.
Note: See
TracTickets for help on using
tickets.
Tested 2.9.2 and trunk at r14511 and it works as expected.