[wp-trac] [WordPress Trac] #42420: Links in file lists in theme/plugin editors don't work in network admin

WordPress Trac noreply at wordpress.org
Thu Nov 2 17:12:41 UTC 2017


#42420: Links in file lists in theme/plugin editors don't work in network admin
--------------------------+-------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.9
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-------------------
 On multisite, clicking on a link in the theme/plugin file trees results in
 the default file for the theme or plugin to always be loaded. The reason
 for this is that in 4.9 the `admin_url()` function is being used and so
 when the user visits `/wp-admin/theme-editor.php?...` they get redirected
 to the network admin but without the query params.

 Introduced in [41721] for #24048.

 Reported by @obenland in
 https://wordpress.slack.com/archives/C0381N237/p1509639301000776

 Video of issue: https://wordpress.slack.com/files/U02RPUBDZ/F7TBQSNTA
 /multisite-editors.mov

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


More information about the wp-trac mailing list