From 19642fd0c9eec027a4c3c3ab48fb58910b527e8a Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 16 Jan 2019 05:32:48 +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. Built from https://develop.svn.wordpress.org/trunk@44613 git-svn-id: http://core.svn.wordpress.org/trunk@44444 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 39494dfccb..03640c45ff 100644 --- a/wp-includes/theme.php +++ b/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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0b809f9c21..04352af9d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.