Make WordPress Core

Ticket #16268: 16268.patch

File 16268.patch, 488 bytes (added by GunGeekATX, 10 years ago)
  • wp-includes/theme.php

     
    10471047}
    10481048
    10491049/**
     1050 * Checks whether a header image is set.
     1051 *
     1052 * @return boolean
     1053 */
     1054function has_header_image() {
     1055        $header_image = get_header_image();
     1056        return !empty($header_image);
     1057}
     1058
     1059/**
    10501060 * Get random header image data from registered images in theme.
    10511061 *
    10521062 * @since 3.4.0