Docs: Fix the `WP_Object_Cache::get()` docblock.
The `$force` parameter is a `bool`, not a `string`. The matching `wp_cache_get()` docblock has the correct type. Props subrataemfluence. Fixes #44454. Built from https://develop.svn.wordpress.org/trunk@44601 git-svn-id: http://core.svn.wordpress.org/trunk@44432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
656d8edcaf
commit
a5d8a6bde3
|
@ -526,7 +526,7 @@ class WP_Object_Cache {
|
||||||
*
|
*
|
||||||
* @param int|string $key What the contents in the cache are called.
|
* @param int|string $key What the contents in the cache are called.
|
||||||
* @param string $group Optional. Where the cache contents are grouped. Default 'default'.
|
* @param string $group Optional. Where the cache contents are grouped. Default 'default'.
|
||||||
* @param string $force Optional. Unused. Whether to force a refetch rather than relying on the local
|
* @param bool $force Optional. Unused. Whether to force a refetch rather than relying on the local
|
||||||
* cache. Default false.
|
* cache. Default false.
|
||||||
* @param bool $found Optional. Whether the key was found in the cache (passed by reference).
|
* @param bool $found Optional. Whether the key was found in the cache (passed by reference).
|
||||||
* Disambiguates a return of false, a storable value. Default null.
|
* Disambiguates a return of false, a storable value. Default null.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-beta1-44600';
|
$wp_version = '5.1-beta1-44601';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue