[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 16:17:07 UTC 2015
#32996: List tables: Provide a fallback when primary column doesn't exist
-------------------------------+---------------------
Reporter: ocean90 | Owner: helen
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------------+---------------------
Changes (by helen):
* owner: => helen
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"33266"]:
{{{
#!CommitTicketReference repository="" revision="33266"
List tables: Even more robust fallback for the primary column.
Since `WP_List_Table::get_default_primary_column()` can be overridden in a
subclass and columns can be further filtered, it is possible to end up
with a primary column that no longer exists. This is particularly evident
in list tables for custom post types that have been altered via filter.
props ocean90.
fixes #32996.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32996#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list