Make WordPress Core

Ticket #36468: 36468.patch

File 36468.patch, 1.3 KB (added by stevenlinx, 7 years ago)
  • src/wp-includes/link-template.php

    diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php
    index c1ec8b3..2e9514f 100644
    a b function get_shortcut_link() { 
    29522952/**
    29532953 * Retrieves the URL for the current site where the front end is accessible.
    29542954 *
    2955  * Returns the 'home' option with the appropriate protocol, 'https' if
    2956  * is_ssl() and 'http' otherwise. If `$scheme` is 'http' or 'https',
    2957  * `is_ssl()` is overridden.
     2955 * Returns the 'home' option with the appropriate protocol. The protocol will be 'https'
     2956 * if `is_ssl()` evaluates to true; otherwise, it will be the same as the 'home' option.
     2957 * If `$scheme` is 'http' or 'https', `is_ssl()` is overridden.
    29582958 *
    29592959 * @since 3.0.0
    29602960 *
    function home_url( $path = '', $scheme = null ) { 
    29702970/**
    29712971 * Retrieves the URL for a given site where the front end is accessible.
    29722972 *
    2973  * Returns the 'home' option with the appropriate protocol, 'https' if
    2974  * is_ssl() and 'http' otherwise. If `$scheme` is 'http' or 'https',
    2975  * `is_ssl()` is overridden.
     2973 * Returns the 'home' option with the appropriate protocol. The protocol will be 'https'
     2974 * if `is_ssl()` evaluates to true; otherwise, it will be the same as the 'home' option.
     2975 * If `$scheme` is 'http' or 'https', `is_ssl()` is overridden.
    29762976 *
    29772977 * @since 3.0.0
    29782978 *