Make WordPress Core

Changeset 1848


Ignore:
Timestamp:
11/09/2004 02:40:09 AM (21 years ago)
Author:
rboren
Message:

Use $wpdb->post2cat instead of wp_main_post2cat. Bug 442. Hat tip: ludoo.

File:
1 edited

Legend:

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

    r1832 r1848  
    147147$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_modified, post_modified_gmt) VALUES ('1', '$now', '$now_gmt', 'Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!', 'Hello world!', '0', '$now', '$now_gmt')");
    148148
    149 $wpdb->query( "INSERT INTO `wp_main_post2cat` (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 0)" );
     149$wpdb->query( "INSERT INTO $wpdb->post2cat (`rel_id`, `post_id`, `category_id`) VALUES (1, 1, 0)" );
    150150
    151151// Default comment
Note: See TracChangeset for help on using the changeset viewer.