這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“RESTless” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 RESTless 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

First release