Docs: Correct the `@return` type of `get_theme_mod()`.

This now matches the type of the `$value` parameter of `set_theme_mod()`.

Props mensmaximus.
Fixes #45319.


Built from https://develop.svn.wordpress.org/trunk@44613


git-svn-id: http://core.svn.wordpress.org/trunk@44444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2019-01-16 05:32:48 +00:00
parent 97aef0e336
commit 19642fd0c9
2 changed files with 2 additions and 2 deletions

View File

@ -890,7 +890,7 @@ function get_theme_mods() {
*
* @param string $name Theme modification name.
* @param bool|string $default
* @return string
* @return mixed
*/
function get_theme_mod( $name, $default = false ) {
$mods = get_theme_mods();

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44612';
$wp_version = '5.1-beta1-44613';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.