Skip to content

Commit 1a968bb

Browse files
author
Ethan Jon
committed
WP_DEBUG fix
1 parent 4dda5ce commit 1a968bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wordpress/wp-config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
*
8181
* @link https://codex.wordpress.org/Debugging_in_WordPress
8282
*/
83-
define( 'WP_DEBUG', !!$_ENV['WP_DEBUG'] );
84-
define( 'SAVEQUERIES', !!$_ENV['WP_DEBUG'] );
83+
define( 'WP_DEBUG', $_ENV['WP_DEBUG'] == 'true' );
84+
define( 'SAVEQUERIES', $_ENV['WP_DEBUG'] == 'true' );
8585

8686
/* That's all, stop editing! Happy blogging. */
8787

0 commit comments

Comments
 (0)