WordPress.org

Make WordPress Core

Ticket #33857: 33857.2.patch

File 33857.2.patch, 756 bytes (added by miyauchi, 4 years ago)
  • wp-includes/link-template.php

     
    27032703}
    27042704
    27052705/**
     2706 * Display the home url for the current site.
     2707 *
     2708 * @since 4.4.0
     2709 */
     2710function the_home_url( $path = '', $scheme = null ) {
     2711        /**
     2712         * Filter the display of the home url for the current site.
     2713         *
     2714         * @since 4.4.0
     2715         *
     2716         * @param string $home_url The home url for the current site.
     2717         */
     2718        echo esc_url( apply_filters( 'the_home_url', home_url( $path = '', $scheme = null ) ) );
     2719}
     2720
     2721/**
    27062722 * Retrieve the home url for the current site.
    27072723 *
    27082724 * Returns the 'home' option with the appropriate protocol, 'https' if