[wordpress插件] DisableMU禁用MU

wordpress 插件 文章 2020-04-18 22:00 416 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Redefines the location of the /mu-plugins directory, via writing constants to your wp-config.php file, to ensure that no code published to the default location will automatically run on your website.

通过将常量写入wp-config.php文件来重新定义/ mu-plugins目录的位置,以确保发布到默认位置的代码不会自动在您的网站上运行。

Since many site administrators are not using /mu-plugins, we want to be sure that no mu-plugins “suddenly” appear on our website due to their nature: auto-activation is BAD when you didn't intend for code

由于许多站点管理员未使用/ mu-plugins,因此我们要确保没有mu-plugins突然由于其性质而出现在我们的网站上:如果您不打算编写代码,则自动激活是错误的

to be there!

在那里!

DisableMU is not for every website.

DisableMU并非适用于每个网站。

Many development houses, system admins, and hosting companies have very legitimate uses for /mu-plugins and have built business plans around utilizing this feature of WordPress.

许多开发公司,系统管理员和托管公司对/ mu-plugins都有非常合法的用途,并已围绕利用WordPress的此功能制定了业务计划。

By installing and activating DisableMU on your website, you may break things.

通过在您的网站上安装并激活DisableMU,您可能会破坏事情。

Please exercise caution and only utilize this plugin if you know what you are doing.

请谨慎行事,只有在知道自己在做什么的情况下,才可以使用此插件。

As with most plugins, DisableMU is written with the intent of being helpful but you are responsible for its use or actions on your own website.

与大多数插件一样,DisableMU的编写目的是提供帮助,但您应对其在您自己的网站上的使用或操作负责。

安装步骤

    1. Upload the disablemu directory to the /wp-content/plugins/ directory via FTP
    2. 通过FTP将 disablemu 目录上传到 / wp-content / plugins / 目录

    3. Alternatively, upload the disablemu_v#.#.zip file to the ‘Plugins->Add New’ page in your WordPress admin area
    4. 或者,将 disablemu_v#。#。zip 文件上传到WordPress管理区域中的“插件->添加新”页面

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

下载地址
https://downloads.wordpress.org/plugin/disablemu.1.1.zip
-EOF-

AI助手支持GPT4.0