[wp-trac] [WordPress Trac] #40646: Move code from `ms-settings.php` into functions

WordPress Trac noreply at wordpress.org
Wed May 3 13:01:47 UTC 2017


#40646: Move code from `ms-settings.php` into functions
----------------------------------------+------------------------------
 Reporter:  flixos90                    |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Networks and Sites          |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  multisite
----------------------------------------+------------------------------

Comment (by flixos90):

 Further idea: @jeremyfelt brought up yesterday that we might simply
 introduce `ms_bootstrap()` and have that as the only function call in `ms-
 settings.php`. This is probably a good idea as well, but I wanted to
 create smaller bits and pieces first in order to have some more testable
 code (`ms_bootstrap()` in its entirety would probably not be testable).

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


More information about the wp-trac mailing list