[wp-trac] [WordPress Trac] #42453: network_admin_url returns the wrong url for multisite installation
WordPress Trac
noreply at wordpress.org
Tue Nov 7 10:53:29 UTC 2017
#42453: network_admin_url returns the wrong url for multisite installation
--------------------------------+-----------------------------
Reporter: drivdigital | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.8.3
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
Steps to reproduce.
1. Install wordpress in it's own folder, eg "wp".
2. Set up as a multisite
3. Set the network site to be eg. "wordpress.dev"
table: `wp_site`
{{{
domain: wordpress.dev
path: /
}}}
table: `wp_blogs`
{{{
domain: wordpress.dev
path: /
}}}
table: `ex_options`
{{{
option_name: "siteurl"
option_value: "http://wordpress.dev/wp/"
option_name: "home"
option_value: "http://wordpress.dev/"
}}}
4. Go to "http://wordpress.dev/wp/wp-admin/plugins.php"
5. Observe that the menu links correctly use "http://wordpress.dev/wp/wp-
admin/...."
6. Observe that links created using `network_admin_url` are wrong, eg.
"Add new plugin". They link to "http://wordpress.dev/wp-admin/..."
(Missing "/wp/").
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42453>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list