[wp-trac] [WordPress Trac] #15030: Unserialize deep when returning arrays of metadata

WordPress Trac noreply at wordpress.org
Tue Dec 2 00:31:49 UTC 2014


#15030: Unserialize deep when returning arrays of metadata
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
     Type:  defect (bug)                         |  boonebgorges
 Priority:  normal                               |      Status:  closed
Component:  Options, Meta APIs                   |   Milestone:  4.1
 Severity:  normal                               |     Version:
 Keywords:  needs-unit-tests good-first-bug      |  Resolution:  fixed
  has-patch                                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by dd32):

 This is kind of obvious, but this is one thing that's worth noting is no
 longer backwards compatible.

 If anyone was expecting a serialized string and passing it to
 unserialize() things will now break. If they were using
 maybe_unserialize() it will silently still work.

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


More information about the wp-trac mailing list