[wp-trac] [WordPress Trac] #25408: Ability to specify that a list table column is "primary"

WordPress Trac noreply at wordpress.org
Mon May 25 18:13:59 UTC 2015


#25408: Ability to specify that a list table column is "primary"
-----------------------------------------------+-----------------------
 Reporter:  helen                              |       Owner:  stephdau
     Type:  enhancement                        |      Status:  assigned
 Priority:  normal                             |   Milestone:  4.3
Component:  Administration                     |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch needs-testing 4.1-early  |     Focuses:
-----------------------------------------------+-----------------------

Comment (by stephdau):

 In [attachment:25408.7.diff], I've replaced `if ( $primary ===
 $column_name ) {` by `if ( $primary === $column_name || 'blogs' ===
 $column_name ) {` (see L170-173 in `src/wp-admin/includes/class-wp-ms-
 users-list-table.php` in patch), which will always apply `has-row-actions`
 to the blogs/sites column.

 The same update also bring the patch in line with the latest trunk.

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


More information about the wp-trac mailing list