[wp-trac] Re: [WordPress Trac] #7559: strip_tags() breaks category
names with left angle brackets
WordPress Trac
wp-trac at lists.automattic.com
Tue May 12 20:10:36 GMT 2009
#7559: strip_tags() breaks category names with left angle brackets
-------------------------------------+--------------------------------------
Reporter: squirreling | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.8
Component: Taxonomy | Version: 2.6
Severity: minor | Resolution:
Keywords: needs-patch 2nd-opinion |
-------------------------------------+--------------------------------------
Comment(by MattyRob):
Hold the phone! I may be smarter than I thought!!
I've messed about with default-filters in wp-includes and this patch works
for categories, tags and link names. The down side is that embedded HTML
is now escaped into the name.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7559#comment:27>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list