Trailing slashes, on the URI, make me happy, make me feel fine. fixes #1742
git-svn-id: https://develop.svn.wordpress.org/trunk@2945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
40b9d7955e
commit
cda9a51ff0
@ -87,7 +87,7 @@
|
||||
<ul>
|
||||
<li>PHP version <strong>4.1</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>
|
||||
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/café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>
|
||||
|
||||
|
@ -37,7 +37,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
</style>
|
||||
</head>
|
||||
<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
|
||||
switch($step) {
|
||||
|
||||
|
@ -58,7 +58,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
}
|
||||
</style>
|
||||
</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
|
||||
switch ($action) {
|
||||
|
@ -45,7 +45,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
}
|
||||
</style>
|
||||
</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
|
||||
switch($step) {
|
||||
|
||||
|
@ -44,7 +44,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
}
|
||||
</style>
|
||||
</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
|
||||
switch($step) {
|
||||
|
||||
|
@ -236,7 +236,7 @@ class Blogger_Import {
|
||||
if ( ! count( $blogsary[1] < 1 ) )
|
||||
die(__('No blogs found for this user.'));
|
||||
$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 ) {
|
||||
// Define the required Blogger options.
|
||||
$blog_opts = array(
|
||||
|
@ -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)" );
|
||||
|
||||
// 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
|
||||
|
||||
|
@ -48,7 +48,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
</style>
|
||||
</head>
|
||||
<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
|
||||
|
||||
switch($step) {
|
||||
|
@ -47,7 +47,7 @@ form {
|
||||
</style>
|
||||
</head>
|
||||
<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">
|
||||
<div><input type="hidden" name="action" value="post" />
|
||||
<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<?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>
|
||||
|
||||
|
@ -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 :) -->
|
||||
<?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) ?>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div id="footer">
|
||||
<p>
|
||||
<?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>
|
||||
and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
|
||||
<!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. -->
|
||||
|
2
wp.php
2
wp.php
@ -37,7 +37,7 @@ require_once('./wp-blog-header.php');
|
||||
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
|
||||
<?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 />
|
||||
<a href="wp-login.php">login</a><br />
|
||||
<a href="wp-register.php">register</a>
|
||||
|
Loading…
Reference in New Issue
Block a user