[wp-trac] [WordPress Trac] #41710: optionally obtain WP_* configuration constants from the environment

WordPress Trac noreply at wordpress.org
Wed Nov 2 12:58:26 UTC 2022


#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     |     Focuses:
----------------------------+------------------------------

Comment (by xavivars):

 I do think the benefit of supporting something like this from core would
 be significant.

 If wp-config (or even wp-config-sample) would look closer to
 https://github.com/docker-library/wordpress/blob/master/wp-config-
 docker.php than to current wp-config, it would be easier to inject
 configuration via environment variables

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


More information about the wp-trac mailing list