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

WordPress Trac noreply at wordpress.org
Sun Mar 16 07:52:37 UTC 2014


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

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 I'd argue this ticket has more to do with making:

 - `wp_slash(wp_unslash($data))` and
 - `wp_unslash(wp_slash($data))`

 work properly, meaning returning `$data` in each case irrespective of
 whether it's a scalar, a string, an array, an object, or a combination of
 the latter.

 #18322 is more about a long term thing which, frankly, I don't expect to
 see fixed any time soon.

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


More information about the wp-trac mailing list