[wp-trac] [WordPress Trac] #30935: Explain check for ../wp-settings.php when getting ../wp-config.php
WordPress Trac
noreply at wordpress.org
Wed Jan 7 05:36:12 UTC 2015
#30935: Explain check for ../wp-settings.php when getting ../wp-config.php
---------------------------------+------------------------------
Reporter: mattheweppelsheimer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
---------------------------------+------------------------------
Changes (by mattheweppelsheimer):
* keywords: => has-patch
Comment:
Patch adds the following docs to explain:
```
/*
* Only get wp-config.php from the parent directory
* if wp-settings.php is not also in the parent directory, to
* avoid cases where the current directory is a nested
* installation, e.g. / is WordPressA and /blog/ is WordPressB.
*/
```
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30935#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list