Opened 14 years ago
Closed 11 years ago
#16864 closed defect (bug) (fixed)
WP_Terms_List_Table doesn't call sanitize_term() on display
Reported by: | scribu | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | minor | Version: | 2.9 |
Component: | Taxonomy | Keywords: | has-patch easy |
Focuses: | administration | Cc: |
Description (last modified by )
Steps to reproduce:
Add this filter:
add_filter( 'category_slug', function() { return 'filtered'; } );
and go to edit-tags.php?taxonomy=category
Attachments (3)
Change History (12)
Note: See
TracTickets for help on using
tickets.
For the slug in particular, there's 'editable_slug', which doesn't pass the taxonomy.
Also, that still leaves out all the other fields, like 'name', 'description' etc.