[wp-trac] Re: [WordPress Trac] #3243: Usermeta and postmeta
functions assume data to be pre-escaped
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 13 23:00:42 GMT 2009
#3243: Usermeta and postmeta functions assume data to be pre-escaped
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: enhancement | Status: accepted
Priority: high | Milestone: 2.9
Component: Administration | Version: 2.1
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: close => needs-patch
* type: task (blessed) => enhancement
Comment:
nm, missed the stripslashes_deep in the post_meta thingy. the ticket
report is actually mixed up:
*_post_meta() expects slashed data, but *_usermeta() doesn't, based on the
todo item in the update_postmeta() function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/3243#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list