Renaming feature for wp-includes
|Reported by:||JoeIzzard||Owned by:|
|Component:||Filesystem API||Keywords:||has-patch dev-feedback 2nd-opinion needs-testing|
Currently it is possible to rename wp-content to anything you want. WordPress has a definition built in for wp-includes, that is WPINC, however, this definition isn't used in about 15 - 16 core files preventing it from being changed (For example, some CSS doesn't load for the admin bar). I have added the files that I have changed to allow this to work, to work add a definition for WPINC to wp-config with the name of your wp-includes folder without and slashes. Without the definition it just uses the standard wp-includes.