Revert accidental commit.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-30 01:46:05 +00:00
parent f8c689b4f0
commit 1ec4dd0209
6 changed files with 1 additions and 30 deletions

View File

@ -75,13 +75,6 @@ addLoadEvent(focusit);
<ul id="categorychecklist"><?php dropdown_categories(); ?></ul></div>
</fieldset>
<fieldset id="tagdiv" class="dbx-box">
<h3 class="dbx-handle"><?php _e('Tags') ?></h3>
<div class="dbx-content">
<p id="jaxtag"></p>
<ul id="tagchecklist"><?php dropdown_tags(); ?></ul></div>
</fieldset>
<fieldset id="commentstatusdiv" class="dbx-box">
<h3 class="dbx-handle"><?php _e('Discussion') ?></h3>
<div class="dbx-content">

View File

@ -120,20 +120,6 @@ CREATE TABLE $wpdb->posts (
KEY post_name (post_name),
KEY type_status_date (post_type,post_status,post_date,ID)
);
CREATE TABLE $wpdb->tags (
tag_id bigint(20) unsigned NOT NULL auto_increment,
tag varchar(30) NOT NULL default '',
raw_tag varchar(50) NOT NULL default '',
tag_count bigint(20) unsigned NOT NULL default '0',
PRIMARY KEY (tag_id)
);
CREATE TABLE $wpdb->tagged (
tag_id bigint(20) unsigned NOT NULL default '0',
post_id bigint(20) unsigned NOT NULL default '0',
PRIMARY KEY (tag_id,post_id),
KEY tag_id_index (tag_id),
KEY post_id_index (post_id)
);
CREATE TABLE $wpdb->users (
ID bigint(20) unsigned NOT NULL auto_increment,
user_login varchar(60) NOT NULL default '',

View File

@ -522,9 +522,6 @@ function wp_insert_post($postarr = array()) {
}
$post_cat = $post_category[0];
if ( empty($post_tags) )
$post_tags = array();
if ( empty($post_author) )
$post_author = $user_ID;
@ -649,7 +646,6 @@ function wp_insert_post($postarr = array()) {
}
wp_set_post_categories($post_ID, $post_category);
wp_set_post_tags($post_ID, $post_tags);
if ( 'page' == $post_type ) {
clean_page_cache($post_ID);

View File

@ -3,6 +3,6 @@
// This holds the version number in a separate file so we can bump it without cluttering the SVN
$wp_version = '2.2-bleeding';
$wp_db_version = 4815;
$wp_db_version = 4772;
?>

View File

@ -34,8 +34,6 @@ class wpdb {
var $optiongroups;
var $optiongroup_options;
var $postmeta;
var $tags;
var $tagged;
/**
* Connects to the database server and selects a database

View File

@ -116,8 +116,6 @@ $wpdb->links = $wpdb->prefix . 'links';
$wpdb->options = $wpdb->prefix . 'options';
$wpdb->postmeta = $wpdb->prefix . 'postmeta';
$wpdb->usermeta = $wpdb->prefix . 'usermeta';
$wpdb->tags = $wpdb->prefix . 'tags';
$wpdb->tagged = $wpdb->prefix . 'tagged';
if ( defined('CUSTOM_USER_TABLE') )
$wpdb->users = CUSTOM_USER_TABLE;