[wp-trac] [WordPress Trac] #40695: `install_blog` suppresses database errors

WordPress Trac noreply at wordpress.org
Mon May 8 20:49:34 UTC 2017


#40695: `install_blog` suppresses database errors
--------------------------+------------------------------
 Reporter:  andy          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+------------------------------
Changes (by andy):

 * keywords:   => has-patch


Comment:

 The `home` attribute is used only to determine http/https. This can be
 avoided by inlining the rest of the logic from `get_blogaddress_by_id`
 into `install_blog`. Patch attached.

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


More information about the wp-trac mailing list