wordpress最大文件_如何删除旧的WordPress核心文件

wordpress最大文件

As an open source software, WordPress is regularly maintained and looked after by a global community. It releases new versions and security releases on a very regular basis. With each new WordPress version, some funtions become obselete and some files become unnecessary. However, an update does not automatically delete those old core files. These files can be targeted by hackers to hide backdoor code. In this article, we will show you how to delete old WordPress core files.

作为一种开源软件,WordPress会定期维护并由全球社区负责。 它会定期发布新版本和安全版本。 随着每个新的WordPress版本,一些功能变得过时,一些文件变得不必要。 但是,更新不会自动删除那些旧的核心文件。 黑客可以将这些文件作为目标来隐藏后门代码 。 在本文中,我们将向您展示如何删除旧的WordPress核心文件。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First, you need to install and activate Old Core Files plugin. After activating the plugin, go to plugin settings page located under Tools » Old Core Files. The plugin will list all old core files that are no longer needed with latest WordPress version.

首先,您需要安装并激活Old Core Files插件。 激活插件后,转到位于工具»旧核心文件下的插件设置页面。 该插件将列出最新WordPress版本不再需要的所有旧核心文件。

Listing old WordPress core files

Currently this plugin does not have a delete button. However, plugin authors intend to include a delete button in future versions of the plugin. However, now that you have the list of files that are just sitting on your server doing nothing and are executable, you can delete them manually using FTP.

目前,该插件没有删除按钮。 但是,插件作者打算在插件的未来版本中包括一个删除按钮。 但是,既然您拥有的文件列表仅位于服务器上,什么也不做,并且可以执行,则可以使用FTP手动删除它们。

While you are deleting unwanted core files, you may also want to delete all inactive themes and plugins that are just sitting there on your server. Don’t forget to back them up just in case, if you want to add it back. Lastly, we highly recommend that you harden your WordPress install by disabling PHP execution in certain WordPress directories. If you want to stay on an even safer side, then start using Sucuri (Here are 5 reasons why we use Sucuri).

在删除不需要的核心文件时,您可能还希望删除服务器上所有闲置的主题和插件。 如果要添加回去,别忘了备份它们以防万一。 最后,我们强烈建议您通过在某些WordPress目录中禁用PHP执行来加强WordPress的安装。 如果您想保持更安全的立场 ,请开始使用Sucuri (这是我们使用Sucuri的5个原因 )。

We hope that this article helps you improve security of your WordPress website. We would like to ask, how often do you delete unwanted core files, inactive themes, and inactive plugins from your server? Let us know by commenting below.

我们希望本文可以帮助您提高WordPress网站的安全性。 我们想问一下,您多久从服务器中删除不需要的核心文件,无效的主题和无效的插件? 请在下面评论让我们知道。

翻译自: https://www.wpbeginner.com/plugins/how-to-delete-old-wordpress-core-files/

wordpress最大文件

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值