[wp-trac] [WordPress Trac] #22884: What if I delete wp_posts table from database.
WordPress Trac
noreply at wordpress.org
Wed Dec 12 12:48:24 UTC 2012
#22884: What if I delete wp_posts table from database.
-----------------------------+--------------------------
Reporter: mukkundthanki | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Database
Version: 3.5 | Severity: normal
Keywords: dev-feedback |
-----------------------------+--------------------------
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 ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22884>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list