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

WordPress Trac noreply at wordpress.org
Thu Oct 30 04:04:27 UTC 2014


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

Comment (by mattkeys):

 Replying to [comment:13 boonebgorges]:
 > I think we can probably do this without writing a new function. Let's
 just loop over the values and map `maybe_unserialize()` on them.

 Yea I was overcomplicating things here. New patch submitted.

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


More information about the wp-trac mailing list