Skip to content

Commit 9b0d68a

Browse files
author
pento
committed
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
1 parent 0f98254 commit 9b0d68a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wp-includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ function get_theme_mods() {
890890
*
891891
* @param string $name Theme modification name.
892892
* @param bool|string $default
893-
* @return string
893+
* @return mixed
894894
*/
895895
function get_theme_mod( $name, $default = false ) {
896896
$mods = get_theme_mods();

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @global string $wp_version
1515
*/
16-
$wp_version = '5.1-beta1-44612';
16+
$wp_version = '5.1-beta1-44613';
1717

1818
/**
1919
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)