[wp-trac] [WordPress Trac] #18026: stripslashes_deep() casts booleans to strings

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 10 14:06:01 UTC 2012


#18026: stripslashes_deep() casts booleans to strings
------------------------------+------------------
 Reporter:  DemoIgor          |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Formatting        |     Version:  3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 Since we use stripslashes_deep() quite a bit in core, I'm trying to think
 of the potential side effects. For one, an update_option() of two equal
 serialized values (that are no longer equal due to the change here) would
 force an update. I don't see this as a big problem, but something to keep
 in mind. A deploy to WP.com for instance might cause a spike in writes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18026#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list