[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 Jul 8 14:29:12 UTC 2022


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

 * milestone:   => 6.1


Comment:

 Came across this ticket going through tickets missing a milestone.

 This doesn't seem to have come up again recently, but it probably wouldn't
 hurt to protect against custom cache groups where built-in PHP objects are
 potentially cached.

 [attachment:"21650.diff"] is a refreshed patch for a sanity check.

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


More information about the wp-trac mailing list