[wp-trac] [WordPress Trac] #32973: Can't hook in id column in Sites List Table, and the column could not be hidden.

WordPress Trac noreply at wordpress.org
Mon Jul 13 12:27:55 UTC 2015


#32973: Can't hook in id column in Sites List Table, and the column could not be
hidden.
--------------------------------+-----------------------------
 Reporter:  cnyyk               |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.2.2
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 This is the id value handler located at /wp-admin/includes/class-wp-ms-
 sites-list-table.php line 255 of wordpress v4.2.2
 {{{
 case 'id':?>
         <th scope="row">
                 <?php echo $blog['blog_id'] ?>
         </th>
 <?php
 break;
 }}}

 THE PROBLEM ARE:
 1. There's no class 'column-id' attached, so when hide the ID column by
 Screen Options tab, the ID column in thead and tfoot hide, but the tbody
 column remains. Shown as attachment1.
 2. There's no filter added to the id column if I wanna add extra info to
 the blog_id value such as add a link.

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


More information about the wp-trac mailing list