WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 8 hours ago

#16864 new defect (bug)

WP_Terms_List_Table doesn't call sanitize_term() on display

Reported by: scribu Owned by:
Milestone: 4.0 Priority: normal
Severity: minor Version: 2.9
Component: Taxonomy Keywords: has-patch easy
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 9 months ago.
Refresh of original patch
16864.3.diff (540 bytes) - added by oso96_2000 2 months ago.
Refreshed patch

Download all attachments as: .zip

Change History (11)

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

c3mdigital9 months ago

Refresh of original patch

comment:4 c3mdigital9 months ago

  • Keywords needs-refresh added

comment:5 c3mdigital9 months ago

  • Keywords needs-refresh removed

comment:6 nacin3 months ago

  • Component changed from Administration to Taxonomy
  • Focuses administration added

oso96_20002 months ago

Refreshed patch

comment:7 oso96_20002 months ago

  • Keywords dev-feedback added

comment:8 wonderboymusic8 hours ago

  • Keywords easy added; dev-feedback removed
  • Milestone changed from Awaiting Review to 4.0
Note: See TracTickets for help on using tickets.