Config Constants

WordPress constants such as WP_DEBUG can be defined in wp-config.php but have to be edited manually everytime you need to make a change. But no longer! You can now edit several common wp-config.php constants directly from within the WordPress admin!

Download the latest version of Config Constants here.

The current list of WordPress constants you can modify with Config Constants are:

* WP_DEBUG
* WP_DEBUG_LOG
* WP_DEBUG_DISPLAY
* SCRIPT_DEBUG
* CONCATENATE_SCRIPTS
* SAVEQUERIES
* DISALLOW_FILE_MODS
* DISALLOW_FILE_EDIT
* WP_ALLOW_REPAIR

More constants will be supported in future versions.

This Plugin allows you to control WordPress constants in an organic way as it won’t seek to insert any constants not already found in wp-config.php. So YOU still remain in control of what is in there at all times. The Plugin only modifies existing defined constants.

Also, a key feature of the Plugin is the support for two-way editing. This means you can still edit wp-config.php constants manually if you wish and your changes will be automatically syncronised with Plugin settings. Likewise, if you update the value of a constant via the Plugin options page then wp-config.php is immediately updated.

Let me know what you think in the comments below.

2 Responses to Config Constants

  1. jonradio says:

    Really useful plugin. Only missing capability is for Network Activation to have a Settings page. As it is now, there is a likely conflict if you activate on individual sites within a network, then use the Settings pages on each individual site, as there is only one wp-config.php file for all sites within a Network.

    • David says:

      Thanks for the suggestion. It has only really been tested for individual WordPress sites, but in a future version Multisite will be supported.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>