[wp-trac] [WordPress Trac] #27421: Escape madness in meta API

WordPress Trac noreply at wordpress.org
Sat Mar 15 16:34:55 UTC 2014


#27421: Escape madness in meta API
--------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy   |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  3.8.1
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Oh yes, and I forgot what is possibly the most colorful point:
 update_post_meta() expects $meta_value to be slashed, but $prev_value is
 expected to be *unslashed*.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27421#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list