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

Props itowhid06.
Fixes #48096.
Built from https://develop.svn.wordpress.org/trunk@46226


git-svn-id: http://core.svn.wordpress.org/trunk@46038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-21 13:48:57 +00:00
parent b36c4692d4
commit 364355abc3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-46225'; $wp_version = '5.3-alpha-46226';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.