[wp-trac] Re: [WordPress Trac] #7559: strip_tags() breaks category
names with left angle brackets
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 21 18:29:26 GMT 2009
#7559: strip_tags() breaks category names with left angle brackets
--------------------------+-------------------------------------------------
Reporter: squirreling | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: Taxonomy | Version: 2.6
Severity: minor | Keywords: has-patch 2nd-opinion
--------------------------+-------------------------------------------------
Changes (by MattyRob):
* keywords: needs-patch needs-testing => has-patch 2nd-opinion
Comment:
Back Again :-)
I've checked the slug out more and it is already being sanitised. The
problem with the initial patch was that the un-encoded variable is still
passed further down the script in the patched file. An updated patch is
attached.
There is another by sending $name rather than $cat_name to the
wp_insert_term() function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7559#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list