为了可以及时发现WordPress网站错误问题,我们一般会打开WordPress调试模式,这样如果网站发生错误,查看其错误日志便可快速分析出错原因并针对性地解决。一旦我们准备修复网站出现的错误问题,建议先禁用WordPress调试模式,以防止在修复错误时网站速度变慢。下面一起来了解下WordPress调试模式怎么禁用。
小编在之前的文章中介绍了如何打开WordPress调试模式,一是用插件,二是修改wp-config配置文件的代码。详情可参考阅读:《打开WordPress调试模式的两种常用方法》
①如果使用的是WP Debugging插件启用了WordPress调试模式,现在我们要禁用该模式的话,只需导航到Plugins,选择Installed Plugins已安装的插件,在右侧找到WP Debugging插件,点击Deactivate以停用该插件,如下图所示:
②如果使用的是代码方式启用的WordPress调试模式,我们可打开wp-config配置文件,然后将WP_DEBUG和WP_DEBUG_LOG属性值修改为“false”并保存归档以禁用调试模式。
最新评论
Hey very cool web site!! Man .. Excellent .. Wonderful .. I'll bookmark your website and take the feeds also? I am glad to seek out a lot of helpful information here in the publish, we need develop extra techniques on this regard, thank you for sharing. . . . . .
Wonderful website you have here but I was curious if you knew of any message boards that cover the same topics talked about in this article? I'd really like to be a part of group where I can get comments from other experienced people that share the same interest. If you have any recommendations, please let me know. Kudos!
I all the time used to read post in news papers but now as I am a user of net thus from now I am using net for articles, thanks to web.
Hi! I've been following your website for a while now and finally got the courage to go ahead and give you a shout out from Atascocita Texas! Just wanted to tell you keep up the good job!
I relish, cause I discovered just what I was taking a look for. You've ended my 4 day long hunt! God Bless you man. Have a nice day. Bye
I am really impressed along with your writing talents as smartly as with the layout in your weblog. Is that this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it is rare to peer a nice weblog like this one today!
I'm really inspired with your writing skills and also with the layout on your weblog. Is this a paid subject or did you modify it your self? Anyway stay up the nice quality writing, it is rare to see a nice weblog like this one these days.
Great article, totally what I wanted to find.