Skip to content
Snippets Groups Projects
Commit 0085f236 authored by ale's avatar ale
Browse files

Make WP_DEBUG globally configurable

parent ba6207c2
No related branches found
No related tags found
No related merge requests found
Pipeline #61140 canceled
......@@ -208,6 +208,9 @@ if (array_key_exists('debug_cookie_name', $noblogs_config) &&
return false;
});
} elseif (array_key_exists('debug', $noblogs_config) && $noblogs_config['debug']) {
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', false);
} else {
define('WP_DEBUG', false);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment