[wp-trac] [WordPress Trac] #13650: Allow filtering of term description in Administration Panels
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 7 19:52:23 UTC 2011
#13650: Allow filtering of term description in Administration Panels
-------------------------+-------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Resolution: worksforme
Keywords: |
-------------------------+-------------------------
Changes (by scribu):
* status: new => closed
* resolution: => worksforme
* milestone: Future Release =>
Comment:
No, you can still keep the sorting:
{{{
function replace_default_column( $columns ) {
$columns['my_description'] = $columns['description'];
unset( $columns['description'] );
return $columns;
}
add_filter( 'manage_edit-category_columns', 'replace_default_column' );
add_filter( 'manage_edit-category_sortable_columns',
'replace_default_column' );
}}}
We just re-use the title and the orderby value from the original column.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13650#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list