[wp-trac] [WordPress Trac] #46167: Network update does not create wp_blogmeta table

WordPress Trac noreply at wordpress.org
Thu Mar 7 05:26:22 UTC 2019


#46167: Network update does not create wp_blogmeta table
--------------------------------+------------------------
 Reporter:  waryn               |       Owner:  (none)
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  5.2
Component:  Networks and Sites  |     Version:  5.1
 Severity:  major               |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------

Comment (by vanyukov):

 Replying to [comment:34 pbiron]:
 > In fact, I wonder how many people would have noticed that the
 `wp_blogmeta` table wasn't created on update if the error messages weren't
 being displayed.

 But the table **is** created on update. It's just the order of things how
 it's happening.
 The wp-admin/upgrade.php script bootstraps WordPress

 {{{#!php
 /** Load WordPress Bootstrap */
 require( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
 }}}

 prior to running the db upgrade

 {{{#!php
 wp_upgrade();
 }}}

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


More information about the wp-trac mailing list