這個外掛並未在最新的 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈RESTless〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0

First release