WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 2 months ago

Last modified 8 weeks ago

#26349 closed defect (bug) (worksforme)

Network Admin links are inconsistent

Reported by: rmccue Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Networks and Sites Keywords: needs-patch good-first-bug
Focuses: multisite Cc:

Description

If you have WP in a subdirectory (say wp/) and don't set define('PATH_CURRENT_SITE', '/wp/');, the Network Admin links are inconsistently broken for a subdomain install.

For example, on the Sites page (network/sites.php), the menu links incorrectly to /wp/wp-admin/network/site-new.php, however the links on the page itself link to /wp-admin/network/site-new.php

I'm guessing that the links on the page don't use network_admin_url(). Let's at least be consistently wrong here.

Change History (9)

comment:1 @jeremyfelt19 months ago

  • Component changed from Multisite to Permalinks
  • Focuses multisite added

comment:2 @jeremyfelt18 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

I've run into link weirdness plenty of times as well. We should clarify current behavior and then make sure it is consistent and expected.

comment:3 @SergeyBiryukov18 months ago

  • Component changed from Permalinks to Networks and Sites

comment:4 @boonebgorges10 months ago

  • Keywords good-first-bug added

comment:5 @slackbot9 months ago

This ticket was mentioned in Slack in #core by ianmjones. View the logs.

comment:6 @ianmjones9 months ago

I have tried everything I can to reproduce this bug, including subverting setup to go against the way WordPress tries to steer any sub-directory install away from subdomain network setup, but I am simply unable to reproduce the problem.

I'm thinking that it has been fixed somewhere since 3.5.

If I'm wrong, and it can be reproduced in version 4.1 some steps to reproduce would be great.

comment:7 @Yahire Furniture9 months ago

Yes this is not happening on latest version for me. It happened before I done the latest update.

comment:8 @neverything2 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

Tested in 4.1 with a multisite in /wp/ and subdomains. Couldn't reproduce this issue.

comment:9 @ocean908 weeks ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.