Trailing slashes, on the URI, make me happy, make me feel fine. fixes #1742

git-svn-id: http://svn.automattic.com/wordpress/trunk@2945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-10-12 18:21:15 +00:00
parent 47f15ab10d
commit e81550ae0f
13 changed files with 13 additions and 13 deletions

View File

@ -87,7 +87,7 @@
<ul> <ul>
<li>PHP version <strong>4.1</strong> or higher</li> <li>PHP version <strong>4.1</strong> or higher</li>
<li>MySQL version <strong>3.23.23</strong> or higher</li> <li>MySQL version <strong>3.23.23</strong> or higher</li>
<li>... and a link to <a href="http://wordpress.org">http://wordpress.org</a> on your site.</li> <li>... and a link to <a href="http://wordpress.org/">http://wordpress.org</a> on your site.</li>
</ul> </ul>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&eacute;log</a>, which came from Michel V. The work has been continued by the <a href="http://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="http://wordpress.org/donate/">donating</a>. </p> <p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&eacute;log</a>, which came from Michel V. The work has been continued by the <a href="http://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="http://wordpress.org/donate/">donating</a>. </p>

View File

@ -37,7 +37,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
</style> </style>
</head> </head>
<body> <body>
<h1 id="logo"><a href="http://wordpress.org"><span>WordPress</span></a></h1> <h1 id="logo"><a href="http://wordpress.org/"><span>WordPress</span></a></h1>
<?php <?php
switch($step) { switch($step) {

View File

@ -58,7 +58,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
} }
</style> </style>
</head><body> </head><body>
<h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1> <h1 id="logo"><a href="http://wordpress.org/">WordPress</a></h1>
<?php <?php
switch ($action) { switch ($action) {

View File

@ -45,7 +45,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
} }
</style> </style>
</head><body> </head><body>
<h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1> <h1 id="logo"><a href="http://wordpress.org/">WordPress</a></h1>
<?php <?php
switch($step) { switch($step) {

View File

@ -44,7 +44,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
} }
</style> </style>
</head><body> </head><body>
<h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1> <h1 id="logo"><a href="http://wordpress.org/">WordPress</a></h1>
<?php <?php
switch($step) { switch($step) {

View File

@ -236,7 +236,7 @@ class Blogger_Import {
if ( ! count( $blogsary[1] < 1 ) ) if ( ! count( $blogsary[1] < 1 ) )
die(__('No blogs found for this user.')); die(__('No blogs found for this user.'));
$this->import['blogs'] = array(); $this->import['blogs'] = array();
$template = '<MainPage><br /><br /><br /><p>'.__('Are you looking for %title%? It is temporarily out of service. Please try again in a few minutes. Meanwhile, discover <a href="http://wordpress.org">a better blogging tool</a>.').'</p><BloggerArchives><a class="archive" href="<$BlogArchiveURL$>"><$BlogArchiveName$></a><br /></BloggerArchives></MainPage><ArchivePage><Blogger><wordpresspost><$BlogItemDateTime$>|W|P|<$BlogItemAuthorNickname$>|W|P|<$BlogItemBody$>|W|P|<$BlogItemNumber$>|W|P|<$BlogItemTitle$>|W|P|<$BlogItemAuthorEmail$><BlogItemCommentsEnabled><BlogItemComments><wordpresscomment><$BlogCommentDateTime$>|W|P|<$BlogCommentAuthor$>|W|P|<$BlogCommentBody$></BlogItemComments></BlogItemCommentsEnabled></Blogger></ArchivePage>'; $template = '<MainPage><br /><br /><br /><p>'.__('Are you looking for %title%? It is temporarily out of service. Please try again in a few minutes. Meanwhile, discover <a href="http://wordpress.org/">a better blogging tool</a>.').'</p><BloggerArchives><a class="archive" href="<$BlogArchiveURL$>"><$BlogArchiveName$></a><br /></BloggerArchives></MainPage><ArchivePage><Blogger><wordpresspost><$BlogItemDateTime$>|W|P|<$BlogItemAuthorNickname$>|W|P|<$BlogItemBody$>|W|P|<$BlogItemNumber$>|W|P|<$BlogItemTitle$>|W|P|<$BlogItemAuthorEmail$><BlogItemCommentsEnabled><BlogItemComments><wordpresscomment><$BlogCommentDateTime$>|W|P|<$BlogCommentAuthor$>|W|P|<$BlogCommentBody$></BlogItemComments></BlogItemCommentsEnabled></Blogger></ArchivePage>';
foreach ( $blogsary[1] as $key => $id ) { foreach ( $blogsary[1] as $key => $id ) {
// Define the required Blogger options. // Define the required Blogger options.
$blog_opts = array( $blog_opts = array(

View File

@ -163,7 +163,7 @@ $wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, p
$wpdb->query( "INSERT INTO $wpdb->post2cat (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 1)" ); $wpdb->query( "INSERT INTO $wpdb->post2cat (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 1)" );
// Default comment // Default comment
$wpdb->query("INSERT INTO $wpdb->comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_date_gmt, comment_content) VALUES ('1', '".$wpdb->escape(__('Mr WordPress'))."', '', 'http://wordpress.org', '$now', '$now_gmt', '".$wpdb->escape(__('Hi, this is a comment.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.'))."')"); $wpdb->query("INSERT INTO $wpdb->comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_date_gmt, comment_content) VALUES ('1', '".$wpdb->escape(__('Mr WordPress'))."', '', 'http://wordpress.org/', '$now', '$now_gmt', '".$wpdb->escape(__('Hi, this is a comment.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.'))."')");
// First Page // First Page

View File

@ -48,7 +48,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
</style> </style>
</head> </head>
<body> <body>
<h1 id="logo"><a href="http://wordpress.org"><span>WordPress</span></a></h1> <h1 id="logo"><a href="http://wordpress.org/"><span>WordPress</span></a></h1>
<?php <?php
switch($step) { switch($step) {

View File

@ -47,7 +47,7 @@ form {
</style> </style>
</head> </head>
<body id="sidebar"> <body id="sidebar">
<h1 id="wphead"><a href="http://wordpress.org" rel="external">WordPress</a></h1> <h1 id="wphead"><a href="http://wordpress.org/" rel="external">WordPress</a></h1>
<form name="post" action="post.php" method="POST"> <form name="post" action="post.php" method="POST">
<div><input type="hidden" name="action" value="post" /> <div><input type="hidden" name="action" value="post" />
<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />

View File

@ -3,7 +3,7 @@
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p> <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org/' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p>
</div> </div>

View File

@ -99,7 +99,7 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH
<!-- // this is just the end of the motor - don't touch that line either :) --> <!-- // this is just the end of the motor - don't touch that line either :) -->
<?php //} ?> <?php //} ?>
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p> <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p>
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
<script type="text/javascript"> <script type="text/javascript">
<!-- <!--

View File

@ -3,7 +3,7 @@
<div id="footer"> <div id="footer">
<p> <p>
<?php bloginfo('name'); ?> is proudly powered by <?php bloginfo('name'); ?> is proudly powered by
<a href="http://wordpress.org">WordPress</a> <a href="http://wordpress.org/">WordPress</a>
<br /><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> <br /><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>. and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
<!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. -->

2
wp.php
View File

@ -37,7 +37,7 @@ require_once('./wp-blog-header.php');
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?> <?php endif; ?>
<div align="right"><cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite><br /> <div align="right"><cite>Powered by <a href="http://wordpress.org/"><strong>Wordpress</strong></a></cite><br />
<br /> <br />
<a href="wp-login.php">login</a><br /> <a href="wp-login.php">login</a><br />
<a href="wp-register.php">register</a> <a href="wp-register.php">register</a>