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-content/themes/default/header.php

    r10949 r12598  
    3939<div id="header" role="banner">
    4040    <div id="headerimg">
    41         <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
     41        <h1><a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a></h1>
    4242        <div class="description"><?php bloginfo('description'); ?></div>
    4343    </div>
Note: See TracChangeset for help on using the changeset viewer.