Make WordPress Core

Changeset 44613


Ignore:
Timestamp:
01/16/2019 05:31:29 AM (6 years ago)
Author:
pento
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r44158 r44613  
    891891 * @param string      $name    Theme modification name.
    892892 * @param bool|string $default
    893  * @return string
     893 * @return mixed
    894894 */
    895895function get_theme_mod( $name, $default = false ) {
Note: See TracChangeset for help on using the changeset viewer.