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

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


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

Comment (by mattkeys):

 Replying to [comment:9 mattkeys]:
 > Looking this over again, I think using an anonymous function here might
 be more appropriate to avoid needing the new callback function in /wp-
 includes/functions.php, since that function is not likely to be needed
 anywhere else.

 It looks like anonymous functions only became available in PHP 5.3, and WP
 supports PHP 5.2.4, so I guess we cannot use the anonymous function
 version of my patch.

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


More information about the wp-trac mailing list