Make WordPress Core


Ignore:
Timestamp:
07/14/2015 04:17:06 PM (10 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.