在我通过操纵 .htcaccess 文件把它搞砸之后,我让一些人“修复”了我的自托管 WordPress 网站。现在一切正常,但编辑器页面消失了。
这是一个多站点配置。我曾经能够从“外观”下的“网络管理员”访问“编辑器”。
“修复”我的网站的人说编辑器不适用于多站点,我知道这不是真的。
任何帮助/建议将不胜感激!
The administrative plugin/theme editor can be disabled through the constant DISALLOW_FILE_EDIT
in the file wp-config.php
.
It comes as a security measure. As a fellow at WordPress Answers put it: editing plugin/themes this way is like working on the plane engine while it's on flight.
The biggest shortcoming is that this editor doesn't have backups. Any simple mistake may take the site down and you'll have to go through FTP to disable the theme/plugin, download it and correct the bug.
I've discussed this constant and its alternatives in this Q&A: Alternatives to DISALLOW_FILE_EDIT wp-config Constant? It Breaks Some Plugins.