Title: Config Constants
Author: David Gwyer
Published: <strong>19 Maio, 2012</strong>
Last modified: 20 Março, 2017

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/config-constants.svg)

# Config Constants

 Por [David Gwyer](https://profiles.wordpress.org/dgwyer/)

[Descarregar](https://downloads.wordpress.org/plugin/config-constants.0.2.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/config-constants/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/config-constants/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/config-constants/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/config-constants/#developers)

 [Suporte](https://wordpress.org/support/plugin/config-constants/)

## Descrição

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. 🙂

Visit our [WordPress plugin site](http://www.wpgoplugins.com).

## Ecrãs

[⌊Where all the magic happens.⌉⌊Where all the magic happens.⌉[

Where all the magic happens.

## Instalação

Instructions for installing:

 1. In your WordPress admin go to Plugins -> Add New.
 2. Enter Config Constants in the text box and click Search Plugins.
 3. In the list of Plugins click Install Now next to the Config Constants Plugin.
 4. Once installed click to activate.
 5. Visit the Plugin options page via Settings -> Config Constants.
 6. On the Plugin options page some/all of the supported constants may be initially
    disabled as you can only modify existing constants defined in wp-config.php. To
    be able to edit a constant directly in the admin just add it to your wp-config.
    php file and it will get picked up automatically in the Plugin settings.

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“Config Constants” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)

[Traduza o “Config Constants” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/config-constants)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/config-constants/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/config-constants/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/config-constants/)
por [RSS](https://plugins.trac.wordpress.org/log/config-constants/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

_0.2_

 * Plugin completely overhauled to work with WordPress 4.8 and fix outdated code.

_0.1_

 * Initial release.

## Metadados

 *  Versão **0.2**
 *  Última actualização **Há 9 anos**
 *  Instalações activas **100+**
 *  Versão do WordPress ** 4.0 ou superior **
 *  Testado até **4.8.28**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/config-constants/)
 * Etiquetas
 * [config](https://pt.wordpress.org/plugins/tags/config/)[constant](https://pt.wordpress.org/plugins/tags/constant/)
   [debug](https://pt.wordpress.org/plugins/tags/debug/)[mode](https://pt.wordpress.org/plugins/tags/mode/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/config-constants/advanced/)

## Classificações

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/config-constants/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/config-constants/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/config-constants/reviews/)

## Contribuidores

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/config-constants/)