[wp-trac] [WordPress Trac] #36935: Implement lazy-loading blog details in `WP_Site`

WordPress Trac noreply at wordpress.org
Thu May 26 21:59:43 UTC 2016


#36935: Implement lazy-loading blog details in `WP_Site`
-------------------------------------+------------------------
 Reporter:  flixos90                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.6
Component:  Networks and Sites       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+------------------------
Changes (by jeremyfelt):

 * focuses:   => multisite
 * milestone:  Awaiting Review => 4.6


Comment:

 +1

 We'll need to test this extensively **and** make sure our unit tests are
 comprehensive.

 One note, because I've run into this before - `untrailingslashit()` is in
 `wp-includes/formatting.php`, which is not available until after
 multisite's bootstrap is complete. If `get_option()` is called to populate
 the `siteurl` or `home` properties before then, it will break.

 We need to either move `formatting.php` or `untrailingslashit()` up in the
 chain.

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


More information about the wp-trac mailing list