该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

RESTless

描述

RESTless is a tiny WordPress plugin which disables access to the REST API (available in WordPress since version 4.4) for non-authenticated users.
This prevents usage of the REST API by the general public and limits access to those with login credentials. No REST for the wicked.

It also supports WordPress Multisite installations.

Notes

Credits:

Sword icon used in the WordPress plugin repository and found as /assets/icon*
From the series ‘Sketchy’ By Shannon E Thomas

Thanks Shannon E Thomas and to[icon] for sharing your work!

WordPress repository banner image found in /assets/banner*:

Orginal painting: ‘Draak’
Drawn by: Utagawa Kuniyoshi
Dated around 1808 – 1861
Repository: Rijksmuseum.nl
Modified by: Björn Wijers

Thanks Rijksmuseum!

安装

Install this plugin as you’d install any other WordPress plugin
e.g.

  1. Upload restless directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Installation Instructions

Install this plugin as you’d install any other WordPress plugin
e.g.

  1. Upload restless directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
Does this disable the REST API?

No, it only prevents non-authenticated usage of the REST API.

Does it work with WordPress Multisite?

Yes, it does. You may disable REST API access per site or per Network.
Per site: Activate the plugin only per site on which you’d like to disable non-authenticated REST API access.
Per network: Use network-activated for the plugin and it will automagically disable non-authenticated REST API access.

评价

此插件暂无评价。

贡献者及开发者

「RESTless」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「RESTless」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

First release