在functions.php文件添加如下代码:
add_filter(‘wp_die_handler‘, ‘get_my_custom_die_handler‘); function get_my_custom_die_handler( $message, $title=‘‘, $args=array() ) { exit; }
黄聪:wordpress调试过程只显示500错误,不显示错误内容
原文:https://www.cnblogs.com/huangcong/p/11332625.html