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

WordPress Trac noreply at wordpress.org
Mon Mar 18 16:19:33 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 fixed-major  |     Focuses:  multisite
-----------------------------------+------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"44927" 44927]:
 {{{
 #!CommitTicketReference repository="" revision="44927"
 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.

 Merges [44925] to the 5.1 branch.

 Props spacedmonkey.
 Fixes #46167.
 }}}

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


More information about the wp-trac mailing list