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

WordPress Trac noreply at wordpress.org
Wed Jun 29 17:00:53 UTC 2016


#37235: Introduce a new action `ms_loaded`
--------------------------------+-------------------------
 Reporter:  flixos90            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.6
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:  multisite           |
--------------------------------+-------------------------
 There are several areas in Multisite which are available to be used in
 `sunrise.php`, but will lack specific functionality when used there.

 Therefore, as per the discussion in #36935 (this discussion includes an
 example), we would like to introduce a new action `ms_loaded` that is run
 after the Multisite bootstrapping process has been completed. This action
 can then be used to conditionally detect whether specific functionality
 should be made available yet or not.

 This action being introduced is necessary for the current state of the
 above ticket to go in as well, but it will certainly help for other use-
 cases as well in the future.

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


More information about the wp-trac mailing list