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

WordPress Trac noreply at wordpress.org
Fri Aug 29 21:47:57 UTC 2014


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

Comment (by SergeyBiryukov):

 One more thing, it should be `print_r( $cache, true )` (to return the
 value instead of printing it directly).

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


More information about the wp-trac mailing list