Make WordPress Core

Changeset 3134


Ignore:
Timestamp:
11/17/2005 10:10:10 AM (19 years ago)
Author:
ryan
Message:

Trailing slashes. Propers to Mark Jaquith. fixes #1893

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r3132 r3134  
    309309?>
    310310<?php if ( isset($_GET['posted']) ) : ?>
    311 <div id="message" class="updated fade"><p><?php printf(__('Post saved. <a href="%s">View site &raquo;</a>'), get_bloginfo('home')); ?></p></div>
     311<div id="message" class="updated fade"><p><?php printf(__('Post saved. <a href="%s">View site &raquo;</a>'), get_bloginfo('home') . '/'); ?></p></div>
    312312<?php endif; ?>
    313313<?php
  • trunk/wp-admin/themes.php

    r2839 r3134  
    2727<div id="message1" class="updated fade"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
    2828<?php elseif ( isset($_GET['activated']) ) : ?>
    29 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site &raquo;</a>'), get_bloginfo('home')); ?></p></div>
     29<div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site &raquo;</a>'), get_bloginfo('home') . '/'); ?></p></div>
    3030<?php endif; ?>
    3131
  • trunk/wp-content/themes/classic/header.php

    r2321 r3134  
    2525<body>
    2626<div id="rap">
    27 <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
     27<h1 id="header"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
    2828
    2929<div id="content">
  • trunk/wp-content/themes/default/header.php

    r3006 r3134  
    5050<div id="header">
    5151    <div id="headerimg">
    52         <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
     52        <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    5353        <div class="description"><?php bloginfo('description'); ?></div>
    5454    </div>
  • trunk/wp-content/themes/default/searchform.php

    r2884 r3134  
    1 <form method="get" id="searchform" action="<?php bloginfo('home'); ?>">
     1<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    22<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    33<input type="submit" id="searchsubmit" value="Search" />
  • trunk/wp-content/themes/default/sidebar.php

    r2982 r3134  
    1818           
    1919            <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    20             <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>"><?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 bloginfo('home'); ?>"><?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 bloginfo('home'); ?>"><?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 bloginfo('home'); ?>"><?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 bloginfo('home'); ?>"><?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 } ?>
  • trunk/wp-login.php

    r3120 r3134  
    7777</form>
    7878<ul>
    79     <li><a href="<?php bloginfo('home'); ?>" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
     79    <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
    8080<?php if (get_settings('users_can_register')) : ?>
    8181    <li><a href="<?php bloginfo('wpurl'); ?>/wp-register.php"><?php _e('Register') ?></a></li>
     
    240240</form>
    241241<ul>
    242     <li><a href="<?php bloginfo('home'); ?>" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
     242    <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
    243243<?php if (get_settings('users_can_register')) : ?>
    244244    <li><a href="<?php bloginfo('wpurl'); ?>/wp-register.php"><?php _e('Register') ?></a></li>
  • trunk/wp-register.php

    r3121 r3134  
    114114</form>
    115115<ul>
    116     <li><a href="<?php bloginfo('home'); ?>" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
     116    <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
    117117    <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li>
    118118    <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li>
     
    142142    <h2><?php _e('Registration Disabled') ?></h2>
    143143    <p><?php _e('User registration is currently not allowed.') ?><br />
    144     <a href="<?php echo get_settings('home') . '/'; ?>" title="<?php _e('Go back to the blog') ?>"><?php _e('Home') ?></a>
     144    <a href="<?php echo get_settings('home'); ?>/" title="<?php _e('Go back to the blog') ?>"><?php _e('Home') ?></a>
    145145    </p>
    146146</div>
Note: See TracChangeset for help on using the changeset viewer.