What if I delete wp_posts table from database.
|Reported by:||mukkundthanki||Owned by:|
I am not a experienced or mature programmer but I have seen it While I was playing with database of WordPress.
I have deleted wp_posts table in database in WordPress - 3.5(beta).
It looks normal on other pages at admin side but when i open single post it shows post-new.php and when hit save, it shows "wp_error" with this message "You are not allowed to edit this post."
That's OK. I was expecting error but not this type of error.
It seems WordPress doesn't know that its most important table has gone away and that's why admin may not know( well for a while). I think its not good. well I don't know its issue or it is way it behaves with database and its normal but I think WordPress should know what exactly happened.
when I have updated WordPress with stable 3.5 it has updated but database is still same which is normal.
Should we( can we )track tables( some of tables which are important ) by PHP ?
Change History (14)
- Keywords close removed
- Type changed from defect (bug) to enhancement
- Keywords dev-feedback added; needs-testing has-patch removed