[wp-trac] [WordPress Trac] #15318: Can't add custom columns to the plugins admin page

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 19:59:53 UTC 2010


#15318: Can't add custom columns to the plugins admin page
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:             
     Type:  defect (bug)    |      Status:  new        
 Priority:  normal          |   Milestone:  3.1        
Component:  Administration  |     Version:  3.1        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by edward mindreantre):

 I believe the new list-table.js will solve your problem.

 Unfortunately it has to run the .hide column() routine thing when
 switching pages which makes it look sorta weird for a few milliseconds. I
 haven't found where it sets each column width to 50% per default.

 I tried setting the cb-column width to max-width 40px or whatever but it
 doesn't listen. Not after running .hide() on that column. It seems as if
 .hide() makes the table recalculate column widths.

 Can we has-patch this yet? :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15318#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list