WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2010 05:23:29 PM (10 years ago)
Author:
ryan
Message:

Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r12484 r12598  
    476476 */
    477477function self_link() {
    478     $host = @parse_url(get_option('home'));
     478    $host = @parse_url(home_url());
    479479    $host = $host['host'];
    480480    echo esc_url(
Note: See TracChangeset for help on using the changeset viewer.