Make WordPress Core

Changeset 705


Ignore:
Timestamp:
01/03/2004 06:43:35 AM (21 years ago)
Author:
saxmatt
Message:

b2 import update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import-b2.php

    r617 r705  
    11<?php
    2 $_wp_installing = 1;
    32if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config.sample.php with the proper database connection information and renamed it to wp-config.php.");
    43require_once('../wp-config.php');
     
    2221        background-image: url(http://wordpress.org/images/wordpress.gif);
    2322        background-repeat: no-repeat;
    24         height: 72px;
     23        height: 60px;
    2524        border-bottom: 4px solid #333;
    2625    }
    2726    #logo a {
    2827        display: block;
    29         height: 72px;
     28        height: 60px;
    3029    }
    3130    #logo a span {
     
    4443    case 0:
    4544?>
    46 <p>Welcome to WordPress. Since you're upgrading from b2 everything should be relatively
     45<p>Welcome to WordPress. Since you&#8217;re upgrading from b2 everything should be relatively
    4746  familiar to you. Here are some notes on upgrading:</p>
    4847<ul>
    49   <li>If you're using an older version of b2, it's probably a good idea to upgrade
     48  <li>If you&#8217;re using an older version of b2, it's probably a good idea to upgrade
    5049    to at least .61 before making the leap to WordPress.</li>
    5150  <li>The templates are so much better, and there is so much more going on than
    52     before it's probably worth it to start from scratch and work back to your
     51    before it&#8217;s probably worth it to start from scratch and work back to your
    5352    design.</li>
    5453  <li>You need to transfer some of your settings from your old <code>b2config.php</code>
     
    5958    Right now.</li>
    6059</ul>
    61 <p><code></code>Have you looked at the <a href="../readme.html">readme</a>? If
    62   you&#8217;re all ready, <a href="import-b2.php.php?step=1">let&#8217;s go</a>!</p>
     60<p>Have you looked at the <a href="../readme.html">readme</a>? If
     61  you&#8217;re all ready, <a href="import-b2.php?step=1">let&#8217;s go</a>!</p>
    6362<?php
    6463    break;
     
    189188?>
    190189<p>Did you defeat the boss monster at the end? Good, then you&#8217;re ready for
    191   <a href="import-b2.php.php?step=2">Step 2</a>.</p>
     190  <a href="import-b2.php?step=2">Step 2</a>.</p>
    192191<?php
    193192    break;
     
    215214
    216215$q = $wpdb->query($query);
     216
    217217?>
    218218
     
    231231$query="ALTER TABLE $tableposts DROP post_karma";
    232232$q = $wpdb->query($query);
    233 
     233flush();
    234234?>
    235235
     
    241241
    242242$q = $wpdb->query($query);
    243 
     243upgrade_071();
     244upgrade_072();
     245upgrade_100();
    244246?>
    245247
    246248<p>Don't forget to CHMOD the <code>weblogs.com.changes.cache</code> file and you'll
    247249  be A-okay. Welcome to the family.</p>
    248 <p>Now there is one more step to the upgrade process. <a href="upgrade-071-to-072.php">Continue upgrade</a></p>
    249 <?php
     250  <?php
    250251    break;
    251252}
Note: See TracChangeset for help on using the changeset viewer.