[wp-trac] [WordPress Trac] #10728: Improve is_blog_installed() check and add means of automatically repairing tables
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 5 23:18:04 UTC 2009
#10728: Improve is_blog_installed() check and add means of automatically repairing
tables
--------------------------+-------------------------------------------------
Reporter: ryan | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Database | Version: 2.9
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by azaozz):
Was thinking we could exit or maybe redirect to the dashboard when
`is_blog_installed` is true and `WP_REPAIRING` is set (meaning someone is
running repair.php directly). But that would prevent the user from
repairing other tables.
Perhaps we need to cover two more user cases:
* allow admins to run repair.php for cases when `wp_posts`,
`wp_comments`, `wp_terms`, etc. need repairs
* if `wp_users` or `wp_usermeta` fail, offer to try to repair them the
same way as `wp_options`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10728#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list