WordPress.org

Make WordPress Core

Ticket #15003: 15003.diff

File 15003.diff, 397 bytes (added by nacin, 8 years ago)

esc_html() what is in the object cache.

  • wp-includes/cache.php

     
    457457                        echo "<strong>Group:</strong> $group<br />";
    458458                        echo "<strong>Cache:</strong>";
    459459                        echo "<pre>";
    460                         print_r($cache);
     460                        echo esc_html( print_r($cache, true) );
    461461                        echo "</pre>";
    462462                }
    463463        }