Wordpress调试配置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wordpress调试配置相关的知识,希望对你有一定的参考价值。
/** Debugging WP */
define('WP_DEBUG', true); //enable the reporting of notices during development - E_ALL define('WP_DEBUG_DISPLAY', true); //use the globally configured setting for display_errors and not force errors to be displayed define('WP_DEBUG_LOG', true); //error logging to wp-content/debug.log define('SCRIPT_DEBUG', true); //loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation, define('E_DEPRECATED', false); //E_ALL & ~E_DEPRECATED & ~E_STRICT
define('AUTOSAVE_INTERVAL', '300'); // Autosave interval define('SAVEQUERIES', true); // Analyse queries define('WP_POST_REVISIONS', false);
以上是关于Wordpress调试配置的主要内容,如果未能解决你的问题,请参考以下文章
Wordpress调试配置
markdown WordPress调试工具(包括twig调试)
WordPress调试
php Wordpress调试
php WordPress调试
php Wordpress调试和Profiler