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

WordPress Trac noreply at wordpress.org
Mon Mar 18 15:47:43 UTC 2019


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44925" 44925]:
 {{{
 #!CommitTicketReference repository="" revision="44925"
 Multisite: Ensure site meta caches are not primed unless the `wp_blogmeta`
 table is available.

 Prior to this change, querying sites early in the bootstrap process could
 potentially cause a fatal error, since at that stage the filter to bail on
 updating site meta cache if the respective database table has not been
 installed yet is not hooked in yet. This changeset forces the filter to be
 added if that is not already the case.

 Props spacedmonkey.
 Fixes #46167.
 }}}

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


More information about the wp-trac mailing list