Make WordPress Core

Changeset 2982


Ignore:
Timestamp:
11/05/2005 03:56:47 PM (21 years ago)
Author:
ryan
Message:

Link to home instead of siteurl. Props: masquerade. fixees #964

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/sidebar.php

    r2571 r2982  
    1818                       
    1919                        <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    20                         <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     20                        <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2121                        for the day <?php the_time('l, F jS, Y'); ?>.</p>
    2222                       
    2323                        <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    24                         <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     24                        <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2525                        for <?php the_time('F, Y'); ?>.</p>
    2626
    2727      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    28                         <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     28                        <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2929                        for the year <?php the_time('Y'); ?>.</p>
    3030                       
    3131                 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    32                         <p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     32                        <p>You have searched the <a href="<?php echo bloginfo('home'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    3333                        for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
    3434
    3535                        <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    36                         <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
     36                        <p>You are currently browsing the <a href="<?php echo bloginfo('home'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
    3737
    3838                        <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.