Config Constants

Modify WP_DEBUG and other wp-config.php constants directly in the WordPress admin rather than manually editing them!

Author:David Gwyer (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.8.13
Plugin version:0.2
Added to WordPress repository:19-05-2012
Last updated:20-03-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://www.wpgoplugins.com/
Total downloads:6 384
Active installs:100+
plugin download
Click to start download

NOTE: This Plugin is still in beta. It’s recommended that you don’t run this Plugin on production sites yet, and don’t forget to backup your wp-config.php file.

WordPress constants such as WP_DEBUG can be defined in wp-config.php but have to be edited manually every time 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!

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.

If none of the above constants are defined in wp-config.php then they will be added automatically. Constants already specified in wp-config.php will have their values modified.

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 synchronised with Plugin settings. Likewise, if you update the value of a constant via the Plugin options page then wp-config.php is immediately updated!

Please rate this Plugin if you find it useful.


Screenshots
ChangeLog