Make WordPress Core

Ticket #34387: 34387.patch

File 34387.patch, 802 bytes (added by sebastian.pisula, 10 years ago)
  • wp-includes/theme.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    816816}
    817817
    818818/**
     819 * Display theme modification value for the current theme.
     820 *
     821 * @since 4.4.0
     822 *
     823 * @param string $name Theme modification name.
     824 * @param bool|string $default
     825 *
     826 * @return string
     827 */
     828function the_theme_mod( $name, $default = false ) {
     829        echo get_theme_mod( $name, $default );
     830}
     831
     832/**
    819833 * Retrieve theme modification value for the current theme.
    820834 *
    821835 * If the modification name does not exist, then the $default will be passed