WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22884, comment 11


Ignore:
Timestamp:
01/25/2015 10:41:33 AM (7 years ago)
Author:
jipmoors
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22884, comment 11

    v1 v2  
    22That was kind of the underlaying thing when I mentioned that I did not feel good about putting the require once and dbDelta at that spot. Thanks for putting it into words more clearly and pointing out those critical dependencies.
    33
    4 edit: removing my failing to see the missing of the options table would trigger this code as well.
     4The missing wp_options table is caught in the `is_blog_installed` code, where the `suppress_errors()` would disable the recreation of tables.
    55
    66In my research to the problem I did first try to use `repair.php` functionality to repair the tables, but since they are missing and not broken it obviously didn't work. Which got me wondering if the way this is used in `is_blog_installed` is kind of minimal and should be expanded for more specific problems and exceptions.