脚本宝典收集整理的这篇文章主要介绍了PHP和WordPress:调试,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
谢谢!
Update 4/08/2015:上述插件在几年内还没有更新.您还可以在wp-config.php中使用内置的wordpress PHP调试功能,即:
// Enable WP_DEBUG mode define('WP_DEBUG',true); // Enable Debug LOGging to the /wp-content/debug.log file define('WP_DEBUG_LOG',true); // Disable display of errors and warnings define('WP_DEBUG_DISPLAY',false); @ini_set('display_errors',0); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define('SCRIPT_DEBUG',true);
有关完整的文档,请参阅https://codex.wordpress.org/Debugging_in_WordPress
以上是脚本宝典为你收集整理的PHP和WordPress:调试全部内容,希望文章能够帮你解决PHP和WordPress:调试所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。