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

WordPress Trac noreply at wordpress.org
Wed Jun 10 13:32:57 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  |     Focuses:
-------------------------------------+-----------------------

Comment (by kovshenin):

 I think r32717 will break column headers for all plugins that explicitly
 set `$_column_headers`, because up until r32644 only three items were
 expected from `get_column_info()`, but now we check for at least four and
 skip the explicitly set headers entirely if that's not the case.

 [attachment:25408.20.diff] makes sure the function passes an array of at
 least four items, with null as primary. Too many arrays? You bet.

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


More information about the wp-trac mailing list