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:
@@ -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 ?>" />
|
||||
|
||||
Reference in New Issue
Block a user