[wp-trac] [WordPress Trac] #60977: "Edit site" means two different things on a Multisite network

WordPress Trac noreply at wordpress.org
Tue Jun 11 14:51:09 UTC 2024


#60977: "Edit site" means two different things on a Multisite network
------------------------------+----------------------------------------
 Reporter:  johnbillion       |       Owner:  audrasjb
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  Toolbar           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration, multisite
------------------------------+----------------------------------------

Comment (by ugyensupport):

 == Bug Report
 === Description
 Several times, at johnbillion has clicked on the wrong "Edit site" link in
 the admin toolbar and been taken to the network admin site editing screen
 instead of the site editor.
 This only affects Super Admin users.
 When viewing the front end of the site there is a top-level "Edit site"
 link in the admin toolbar. This takes you to the site editor for full site
 editing (site-editor.php).
 When viewing the admin area and hovering over the site name in the admin
 toolbar, there is an "Edit Site" link in its menu. This takes you to the
 site editing screen in the network admin area (network/site-info.php).
 It would be good to more clearly differentiate between editing a site and
 editing a site.

 === Environment
 - WordPress: 6.5.4
 - PHP: 8.3
 - Server: Apache/2.4.10 (Debian)
 - Database: mysqli (Server: 5.5.59-MariaDB-1~wheezy / Client: 5.5.62)
 - Browser: Chrome 125.0.0.0 (macOS)
 - Theme: Could not determine
 - MU-Plugins: None activated
 - Plugins:
   * File Manager Advanced 5.2.4
   * WordPress Beta Tester 3.5.5

 === Steps to Reproduce
 I have tested the below patch.
 https://core.trac.wordpress.org/attachment/ticket/60977/60977.2.diff

 === Expected Results
 1.  ✅ When viewing the admin area and hovering over the site name in the
 admin toolbar, "Manage site" is now visible instead of "Edit site" and
 redirects to the correct URL.

 === Actual Results
 1.  ✅ https://ibb.co/qCKJn6W

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60977#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list