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

WordPress Trac noreply at wordpress.org
Tue Jul 7 15:06:59 UTC 2015


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

Comment (by stephdau):

 I think [attachment:25408.22.diff] is great as is:
  * I think having it in the default (parent's)
 `get_default_primary_column_name()` is definitely the proper place to.
  * Going with a `foreach`, `continue`, and `break` is a smart move there.

 I fail to see a case where that would fail, at the very least as
 ungracefully as it does without the change.

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


More information about the wp-trac mailing list