[wp-trac] [WordPress Trac] #39419: Explicitly globalize global variables in ms-settings.php

WordPress Trac noreply at wordpress.org
Mon Oct 2 04:24:14 UTC 2017


#39419: Explicitly globalize global variables in ms-settings.php
-------------------------------------------------+-------------------------
 Reporter:  danielbachhuber                      |       Owner:  csloisel
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  4.9
Component:  Bootstrap/Load                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug needs-docs needs-     |     Focuses:  multisite
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by jeremyfelt):

 I started taking a stab at the docs for these in
 [attachment:39419.2.diff]. I added `Deprecated` next to `$domain`,
 `$path`, `$site_id`, and `$public` to try and indicate that they should
 not be relied on. I'm not sure if there's a better way to do that.

 `$table_prefix` is interesting because it's first used in `wp-config.php`.
 We can probably still document it in `wp-settings.php` though.

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


More information about the wp-trac mailing list