[wp-trac] [WordPress Trac] #37235: Introduce a new action `ms_loaded`

WordPress Trac noreply at wordpress.org
Wed Jun 29 18:59:43 UTC 2016


#37235: Introduce a new action `ms_loaded`
--------------------------------+-------------------------
 Reporter:  flixos90            |       Owner:  jeremyfelt
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.6
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

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


Comment:

 In [changeset:"37916"]:
 {{{
 #!CommitTicketReference repository="" revision="37916"
 Multisite: Fire the `ms_loaded` action after multisite's bootstrap has
 finished.

 This allows code in `sunrise.php` and in core to know when multisite
 bootstrap is complete and when the `$current_site` and `$current_blog`
 globals are populated.

 Fixes #37235.
 Props flixos90.
 }}}

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


More information about the wp-trac mailing list