[wp-trac] [WordPress Trac] #11972: Sort View Post/Pages by Column

WordPress Trac noreply at wordpress.org
Sat Aug 3 19:13:54 UTC 2013


#11972: Sort View Post/Pages by Column
-----------------------------+-----------------------------
 Reporter:  miklb            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Administration   |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  close            |
-----------------------------+-----------------------------
Changes (by sillybean):

 * keywords:   => close


Comment:

 Since it's very easy to drill down the post/page lists by clicking the
 linked author/category/tag, and also to make the columns sortable with a
 simple hook (see example), I think we can close this ticket.

 {{{
 function register_sortable_column_author( $columns ) {
     $columns['author'] = 'author';
     return $columns;
 }
 add_filter( 'manage_edit-post_sortable_columns',
 'register_sortable_column_author' );
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11972#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list