[wp-trac] [WordPress Trac] #34508: list_table_primary_column doesn't work following some manage_$screen_columns
WordPress Trac
noreply at wordpress.org
Fri Oct 30 15:35:50 UTC 2015
#34508: list_table_primary_column doesn't work following some
manage_$screen_columns
----------------------------+-----------------------------
Reporter: soulseekah | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
* milestone: Awaiting Review => 4.4
Comment:
As a simple fix, `WP_List_Table::get_primary_column_name()` could use
[source:tags/4.3.1/src/wp-admin/includes/screen.php?marks=39#L9
get_column_headers()] which does apply the filter. We already use it in
[source:tags/4.3.1/src/wp-admin/includes/class-wp-list-
table.php?marks=934#L913 WP_List_Table::get_column_info()].
With [attachment:34508.patch], your snippets work for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34508#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list