wp_get_default_update_https_url

The timeline below displays how wordpress function wp_get_default_update_https_url has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.2

/**
 * Gets the default URL to learn more about updating the site to use HTTPS.
 *
 * Do not use this function to retrieve this URL. Instead, use {@see wp_get_update_https_url()} when relying on the URL.
 * This function does not allow modifying the returned URL, and is only used to compare the actually used URL with the
 * default one.
 *
 * @since 5.7.0
 * @access private
 *
 * @return string Default URL to learn more about updating to HTTPS.
 */
function wp_get_default_update_https_url()
{
    /* translators: Documentation explaining HTTPS and why it should be used. */
    return __('https://wordpress.org/documentation/article/why-should-i-use-https/');
}

WordPress Version: 5.7

/**
 * Gets the default URL to learn more about updating the site to use HTTPS.
 *
 * Do not use this function to retrieve this URL. Instead, use {@see wp_get_update_https_url()} when relying on the URL.
 * This function does not allow modifying the returned URL, and is only used to compare the actually used URL with the
 * default one.
 *
 * @since 5.7.0
 * @access private
 *
 * @return string Default URL to learn more about updating to HTTPS.
 */
function wp_get_default_update_https_url()
{
    /* translators: Documentation explaining HTTPS and why it should be used. */
    return __('https://wordpress.org/support/article/why-should-i-use-https/');
}