[wp-trac] [WordPress Trac] #22884: What if I delete wp_posts table from database.

WordPress Trac noreply at wordpress.org
Wed Dec 12 19:20:10 UTC 2012


#22884: What if I delete wp_posts table from database.
--------------------------------+------------------------------
 Reporter:  mukkundthanki       |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Database            |     Version:  3.5
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback close  |
--------------------------------+------------------------------
Changes (by knutsp):

 * cc: knut@… (added)
 * keywords:  dev-feedback => dev-feedback close


Comment:

 Joking here? If not ...

 And if you have the posts table, but have removed a column or two from it?
 I guess it's quite unpredictable and I wouldn't expect it to be otherwise.

 I guess that when WordPress is updated, and there are schema changes, this
 could be detected and the table created and/or fixed.

 I think that id you drop the options table, then WordPress will think it's
 not installed. Try that, and WordPress will recreate the posts table.

 To check if someone has tampered with your database schema since
 installed, I guess a plugin could be handy.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22884#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list