WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 8 weeks ago

#16864 new defect (bug)

WP_Terms_List_Table doesn't call sanitize_term() on display

Reported by: scribu Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 2.9
Component: Taxonomy Keywords: has-patch dev-feedback
Focuses: administration Cc:

Description (last modified by scribu)

Steps to reproduce:

Add this filter:

add_filter( 'category_slug', function() {
  return 'filtered';
} );

and go to edit-tags.php?taxonomy=category

Attachments (3)

16864.diff (494 bytes) - added by scribu 3 years ago.
16864.2.diff (493 bytes) - added by c3mdigital 8 months ago.
Refresh of original patch
16864.3.diff (540 bytes) - added by oso96_2000 8 weeks ago.
Refreshed patch

Download all attachments as: .zip

Change History (10)

scribu3 years ago

comment:1 scribu3 years ago

  • Description modified (diff)

comment:2 scribu3 years ago

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.

comment:3 nacin3 years ago

  • Version set to 2.9

c3mdigital8 months ago

Refresh of original patch

comment:4 c3mdigital8 months ago

  • Keywords needs-refresh added

comment:5 c3mdigital8 months ago

  • Keywords needs-refresh removed

comment:6 nacin2 months ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added

oso96_20008 weeks ago

Refreshed patch

comment:7 oso96_20008 weeks ago

  • Keywords dev-feedback added
Note: See TracTickets for help on using tickets.