WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the «debug» mode throughout WordPress. It is assumed to be false by default and is usually set to true in the wp-config.php file on development copies of WordPress.

WP_DEBUG ist eine PHP-Konstante die genutzt werden kann um den Debug-Modus in WordPress zu aktivieren. Es ist standardmäßig ausgeschaltet, kann aber zur entwicklung in der wp-config.php aktiviert werden.

define('WP_DEBUG', true);
define('WP_DEBUG', false);

Weitere Konstanten:

define('WP_DEBUG_DISPLAY', false);
define('WP_DEBUG_LOG', true);

 

 

Tagged:

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.