[wp-trac] [WordPress Trac] #40268: Remove mode switcher from the network admin sites screen

WordPress Trac noreply at wordpress.org
Mon Jun 26 18:42:50 UTC 2017


#40268: Remove mode switcher from the network admin sites screen
-------------------------------------+-------------------------------------
 Reporter:  johnbillion              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Networks and Sites       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  administration,
  patch                              |  multisite
-------------------------------------+-------------------------------------

Comment (by flixos90):

 We discussed this in today's multisite chat and were a bit wary of
 removing the mode switcher entirely: It's correct that the switcher is
 currently not useful for core, but as plugins possibly extend the sites
 table with custom content, the switcher may be useful to them, for example
 when a plugin really wants to add much more content than would make sense
 to show in the list view.
 If we want to get rid of the mode switcher for core, I'd rather disable it
 by default, but put a filter in place to bring it back if plugins need it.
 Core itself could then ignore the setting and show whatever we decide
 makes most sense.

 However there is also another reason not to remove the mode switcher at
 all: Currently the "Excerpt" mode uses `switch_to_blog()`, while the
 "List" mode doesn't, so displaying the default list mode comes with slight
 performance benefits. Not critical, but something to consider.

 I think this needs more discussion before we can proceed (in whichever
 way).

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


More information about the wp-trac mailing list