mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -106,7 +106,7 @@ CREATE TABLE $wpdb->posts (
|
||||
post_title text NOT NULL,
|
||||
post_category int(4) NOT NULL default '0',
|
||||
post_excerpt text NOT NULL,
|
||||
post_status enum('publish','draft','private','static','object','attachment') NOT NULL default 'publish',
|
||||
post_status enum('publish','draft','private','static','object','attachment','inherit') NOT NULL default 'publish',
|
||||
comment_status enum('open','closed','registered_only') NOT NULL default 'open',
|
||||
ping_status enum('open','closed') NOT NULL default 'open',
|
||||
post_password varchar(20) NOT NULL default '',
|
||||
@@ -119,7 +119,7 @@ CREATE TABLE $wpdb->posts (
|
||||
post_parent bigint(20) NOT NULL default '0',
|
||||
guid varchar(255) NOT NULL default '',
|
||||
menu_order int(11) NOT NULL default '0',
|
||||
post_type varchar(100) NOT NULL default '',
|
||||
post_type varchar(100) NOT NULL default 'post',
|
||||
post_mime_type varchar(100) NOT NULL default '',
|
||||
comment_count bigint(20) NOT NULL default '0',
|
||||
PRIMARY KEY (ID),
|
||||
|
||||
Reference in New Issue
Block a user