[wp-trac] [WordPress Trac] #21650: replace serialize() with print_r() in stats() function in wp-includes/cache.php

WordPress Trac noreply at wordpress.org
Tue Aug 13 18:29:33 UTC 2013


#21650: replace serialize() with print_r() in stats() function in wp-
includes/cache.php
--------------------------+--------------------
 Reporter:  bobbingwide   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Cache         |     Version:  3.4.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by ryan):

 A try/catch with fallback to print_r() seems sufficient to cover this edge
 case. serialize() does give us a better approximation.

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


More information about the wp-trac mailing list