[wp-trac] [WordPress Trac] #45089: Update WP_List_Table::get_sortable_columns() to support 'asc' and 'desc' arguments (was: WP_List_Table)

WordPress Trac noreply at wordpress.org
Fri Oct 12 23:29:40 UTC 2018


#45089: Update WP_List_Table::get_sortable_columns() to support 'asc' and 'desc'
arguments
----------------------------------+---------------------
 Reporter:  Tkama                 |       Owner:  (none)
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  5.1
Component:  Administration        |     Version:  4.9.8
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch needs-docs
 * component:  General => Administration
 * milestone:  Awaiting Review => 5.1


Comment:

 Hi @Tkama, thanks for the patch!

 The documentation for
 [https://developer.wordpress.org/reference/classes/wp_list_table/get_sortable_columns/
 WP_List_Table::get_sortable_columns()] would also need to be updated to
 reflect the new accepted value.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45089#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list