[wp-trac] [WordPress Trac] #32996: List tables: Provide a fallback when primary column doesn't exist

WordPress Trac noreply at wordpress.org
Tue Jul 14 15:12:42 UTC 2015


#32996: List tables: Provide a fallback when primary column doesn't exist
-------------------------------+-----------------------
 Reporter:  ocean90            |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  4.3
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:  has-patch
  Focuses:                     |
-------------------------------+-----------------------
 If you have a CPT and change the column names so that you don't have a
 `title` column anymore you currently get an empty table in responsive
 views.
 `WP_List_Table::get_primary_column_name()` should fall back to
 `WP_List_Table::get_default_primary_column_name()`  if the default column
 doesn't exist.

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


More information about the wp-trac mailing list