[wp-trac] [WordPress Trac] #36507: Invalid URLs in network admin when WP Core is in custom subdirectory

WordPress Trac noreply at wordpress.org
Wed Apr 13 09:47:38 UTC 2016


#36507: Invalid URLs in network admin when WP Core is in custom subdirectory
--------------------------------+-----------------------------
 Reporter:  flixos90            |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 In my setup, I have WordPress Core in a custom subdirectory, so my home
 URL for a site is like `http://example.com` while my site URL is like
 `http://example.com/core`.

 In the network admin area, this results in invalid links since the
 `network_site_url()` function does not check whether WordPress is
 installed in a custom subdirectory. The links have a path like `/wp-
 admin/network/...` although they should have a path like `/core/wp-
 admin/network/...`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36507>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list