[wordpress插件] Disable Theme and Plugin Editor禁用主题和插件编辑器

wordpress 插件 文章 2020-04-18 13:20 565 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Disable Theme and Plugin Editors from WordPress Admin Panel for security reasons

出于安全原因,从WordPress管理面板中禁用主题和插件编辑器

By default WordPress allows users to edit the theme and plugin codes through the admin panel.

默认情况下,WordPress允许用户通过管理面板编辑主题和插件代码。

While it is a handy feature, it can be very dangerous as well.

虽然这是一个方便的功能,但它也可能非常危险。

This simple plugin can end up locking you out of your site unless ofcourse you have the FTP access.

除非您当然拥有FTP访问权限,否则这个简单的插件可能最终将您锁定在站点之外。

To prevent clients from screwing up the site, it is best to disable the theme and plugin editors from the WordPress admin panel.

为了防止客户端破坏网站,最好从WordPress管理面板中禁用主题和插件编辑器。

安装步骤

Take the easy route and install through the WordPress plugin adder OR :

通过WordPress插件添加程序OR轻松进行安装:

    1. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
    2. 下载.zip文件,并将解压缩的文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/disable-theme-and-plugin-editor.1.1.zip
-EOF-

AI助手支持GPT4.0