Docs: Correct type for the $data parameter of WP_Theme::cache_add().

Props itowhid06.
Fixes #48096.

git-svn-id: https://develop.svn.wordpress.org/trunk@46226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-09-21 13:47:12 +00:00
parent 4eb545aba0
commit d6749c7669

View File

@ -678,7 +678,7 @@ final class WP_Theme implements ArrayAccess {
* @since 3.4.0
*
* @param string $key Type of data to store (theme, screenshot, headers, post_templates)
* @param string $data Data to store
* @param array|string $data Data to store
* @return bool Return value from wp_cache_add()
*/
private function cache_add( $key, $data ) {