Debugging Mode (WordPress): verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(Nieuwe pagina aangemaakt met ' == Zie ook == * CSS-storing na migratie (WordPress) * Debugging (WordPress)') |
|||
Regel 1: | Regel 1: | ||
+ | Je kunt instellen waar en hoe een WordPress debugging informatie presenteert; de zogenaamde ''debugging mode''. | ||
+ | |||
+ | De gebruikelijke manier om debugging mode te configureren, is in bestand <code>wp-config.php</code>. | ||
+ | |||
+ | Voorbeeld van een productiesite (KNL, mei 2021) waar debugging is uitgezet. Dit is onderaan het bestand: | ||
+ | |||
+ | <pre> | ||
+ | /** | ||
+ | * For developers: WordPress debugging mode. | ||
+ | * | ||
+ | * Change this to true to enable the display of notices during development. | ||
+ | * It is strongly recommended that plugin and theme developers use WP_DEBUG | ||
+ | * in their development environments. | ||
+ | */ | ||
+ | define('WP_DEBUG', false); | ||
+ | define( 'WP_DEBUG_LOG', true ); | ||
+ | </pre> | ||
+ | |||
+ | == Zie ook == | ||
+ | |||
+ | * [[CSS-storing na migratie (WordPress)]] | ||
+ | * [[Debugging Mode (WordPress)]] | ||
+ | * [[Storingen (Drupal)]] | ||
Versie van 18 mei 2021 09:54
Je kunt instellen waar en hoe een WordPress debugging informatie presenteert; de zogenaamde debugging mode.
De gebruikelijke manier om debugging mode te configureren, is in bestand wp-config.php
.
Voorbeeld van een productiesite (KNL, mei 2021) waar debugging is uitgezet. Dit is onderaan het bestand:
/** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. */ define('WP_DEBUG', false); define( 'WP_DEBUG_LOG', true );
Zie ook