Docs: For clarity, add some information about the return types of `get_option()`.
Props ReneHermi, johannadevos See #51278 Built from https://develop.svn.wordpress.org/trunk@49600 git-svn-id: http://core.svn.wordpress.org/trunk@49338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df2644a14a
commit
48f35e42fc
|
@ -25,7 +25,8 @@
|
|||
*
|
||||
* @param string $option Name of the option to retrieve. Expected to not be SQL-escaped.
|
||||
* @param mixed $default Optional. Default value to return if the option does not exist.
|
||||
* @return mixed Value set for the option.
|
||||
* @return mixed Value set for the option. A value of any type may be returned, including
|
||||
* array, boolean, float, integer, null, object, and string.
|
||||
*/
|
||||
function get_option( $option, $default = false ) {
|
||||
global $wpdb;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-beta4-49599';
|
||||
$wp_version = '5.6-beta4-49600';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue