[wp-trac] [WordPress Trac] #37923: Introduce shared wp_blogmeta database table for multisite installation

WordPress Trac noreply at wordpress.org
Mon Feb 6 15:33:46 UTC 2017


#37923: Introduce shared wp_blogmeta database table for multisite installation
--------------------------------+------------------------------
 Reporter:  johnjamesjacoby     |       Owner:
     Type:  feature request     |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  2nd-opinion         |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by spacedmonkey):

 Looking into this again, I noticed if we have the follow options in the
 blogmeta table

 blogname
 siteurl
 post_count
 home
 allowedthemes

 we could remove a tonne of switch_to_blog in core. Switch_to_blog is a
 pig, so removing it in some key places (specially in the WP_Site class)
 would a performance win.

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


More information about the wp-trac mailing list