[wp-trac] [WordPress Trac] #41710: optionally obtain WP_* configuration constants from the environment
WordPress Trac
noreply at wordpress.org
Wed Aug 14 19:44:48 UTC 2024
#41710: optionally obtain WP_* configuration constants from the environment
-------------------------------+------------------------------
Reporter: drzraf | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 4.8.1
Severity: normal | Resolution:
Keywords: 2nd-opinion close | Focuses:
-------------------------------+------------------------------
Changes (by jorbin):
* keywords: 2nd-opinion => 2nd-opinion close
Comment:
As demonstrated by the linked docker file, this is already possible by
setting the constants using `getenv` or some custom function such as the
`getenv_docker` example. As `wp-config.php` isn't modifyable on every
existing sites, this isn't a change that can be made to every site but
individual sites can choose how they define the constants. Therefore, I
think this should be closed as `worksforme`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41710#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list