[wp-trac] [WordPress Trac] #29536: Toggle excerpt/list view buttons appear on users list page in network admin

WordPress Trac noreply at wordpress.org
Tue Oct 7 05:54:47 UTC 2014


#29536: Toggle excerpt/list view buttons appear on users list page in network admin
--------------------------------+------------------------------
 Reporter:  pauldewouters       |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by jeremyfelt):

 I went digging. :)

 The "registered" column on the users list table included the full date
 with no list/excerpt option when it was MU - `<td><?php echo
 mysql2date(__('Y-m-d \<\b\r \/\> g:i a'), $user['user_registered']);
 ?></td>`.

 [https://core.trac.wordpress.org/attachment/ticket/12460/codeispoetry.patch
 A most epic patch] in Trac history added the list/excerpt option and
 output the only the day by default. See [13918].

 The switch between list/excerpt is captured in a `$mode` global. Because
 of this, I don't think we can remove the toggle without the possibility of
 breaking somebody's custom extension of the users list table.

 I could see coming up with additional data to display in an excerpt view.

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


More information about the wp-trac mailing list