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

WordPress Trac noreply at wordpress.org
Sat Jan 24 11:44:45 UTC 2015


#22884: What if I delete wp_posts table from database.
-------------------------------------+------------------------------
 Reporter:  mukkundthanki            |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Database                 |     Version:  3.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:8 jipmoors]:
 > The part that I don't 100% like is the include of the upgrade.php and
 dbDelta calls.

 `require()` is probably fine, but it should not be done inside the
 `foreach()` loop.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22884#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list