Opened 15 years ago
Closed 12 years ago
#16864 closed defect (bug) (fixed)
WP_Terms_List_Table doesn't call sanitize_term() on display
| Reported by: | scribu | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Taxonomy | Version: | 2.9 |
| Severity: | minor | Keywords: | has-patch easy |
| Cc: | Focuses: | administration |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.