[wp-trac] [WordPress Trac] #30519: Ignore wp-config.php in core.svn/core.git repos

WordPress Trac noreply at wordpress.org
Thu Dec 4 21:25:52 UTC 2014


#30519: Ignore wp-config.php in core.svn/core.git repos
------------------------------+------------------------------
 Reporter:  netweb            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by boonebgorges):

 My inclination is to say that anyone smart enough to run their WP
 installation from a checkout of core.svn or core.git should be assumed to
 be smart enough not to check sensitive files into their repos.

 There are also valid setups that involve tracking wp-config.php under
 version control. On most of my client sites, wp-config.php is a tracked
 file, which `include`s an untracked, environment-specific file with
 passwords, etc. I generally don't use these build repos to populate client
 sites, but if I did, I'd have to come up with clunky workarounds if we
 went with this proposal (*super* clunky workarounds in the case of
 `.gitignore`).

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


More information about the wp-trac mailing list