[wp-trac] [WordPress Trac] #25761: Crazy amounts of queries are run in wp-admin/install.php?step=2

WordPress Trac noreply at wordpress.org
Wed Oct 30 01:54:15 UTC 2013


#25761: Crazy amounts of queries are run in wp-admin/install.php?step=2
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Database           |     Version:  3.7
 Severity:  minor              |  Resolution:
 Keywords:                     |
-------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Confirmed 507 queries.

 113 of them are from `add_role()` and `WP_Role::add_cap()` calls when
 adding initial roles:
 [source:tags/3.7.1/src/wp-admin/includes/schema.php#L585]

 71 are from `delete_option()` when deleting unused options:
 [source:tags/3.7.1/src/wp-admin/includes/schema.php#L526]

 The rest are creating tables, populating default options, user meta, etc.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25761#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list