Commit Graph

2 Commits

Author SHA1 Message Date
whyisjake
3daf349083 Cache API: Ensure proper escaping around the stats method in the cache API.
Brings the changes in [47637] to the 5.4 branch.

Props: nickdaugherty, batmoo, whyisjake, westi.

Built from https://develop.svn.wordpress.org/branches/5.4@47642


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:52:07 +00:00
Sergey Biryukov
ecb8633dcc Coding Standards: Move WP_Object_Cache to wp-includes/class-wp-object-cache.php.
This ensures the file containing the `WP_Object_Cache` class conforms to the coding standards.

For backward compatibility, the new file is included from `wp-includes/cache.php`.

Fixes #49373. See #49222.
Built from https://develop.svn.wordpress.org/trunk@47197


git-svn-id: http://core.svn.wordpress.org/trunk@46997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-06 05:53:06 +00:00