From 5d52753e2e096812363caf3dbc072a31f3ea3eeb Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 16 Jan 2019 05:31:29 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@44613 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 39494dfccb..03640c45ff 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -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();