[wp-trac] [WordPress Trac] #32248: adding a term containing "&" and renamed
WordPress Trac
noreply at wordpress.org
Mon May 4 19:47:04 UTC 2015
#32248: adding a term containing "&" and renamed
----------------------------+-----------------------------
Reporter: olivM | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Administration | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+-----------------------------
Changes (by boonebgorges):
* keywords: => has-patch
* milestone: Awaiting Review => 4.3
Comment:
Confirmed. Thanks for the detailed report.
The 'name' parameter for `get_terms()` (introduced in 4.2; see #30611)
currently uses `sanitize_text_field()` on the value passed to 'name', but
this is not enough: it should be run through `sanitize_term_field()`.
Can I ask you apply [attachment:32248.diff] to see if it fixes the problem
for you?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32248#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list