Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34508, comment 2


Ignore:
Timestamp:
10/30/2015 03:36:12 PM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34508, comment 2

    initial v1  
    1 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()].
     1As 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()].
    22
    33With [attachment:34508.patch], your snippets work for me.