SMNTCS Disable REST API User Endpoints

描述

With WordPress 4.7 the REST API is part of the core. At the moment everyone has read access to the REST API. As a result of that a potential intruder can retrieve a list of all user slugs via /wp-json/wp/v2/users. This plugin disables the REST API user endpoints to obscure the user slugs.

安装

  1. Upload smntcs-disable-rest-api-user-endpoints to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress

评价

2021年5月10日
Great plugin, works as it should, a must for any WordPress site.
2017年4月6日
Does what is says, and you really shoud use this on all your sites. I just can't imagine your woocommerce customers login names being exposed via the REST API. Though the REST API is an amazing feature Kudos on this !!!
阅读所有2条评价

贡献者及开发者

“SMNTCS Disable REST API User Endpoints” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“SMNTCS Disable REST API User Endpoints”插件已被翻译至4种本地话语言。 感谢所有译者为本插件所做的贡献。

将“SMNTCS Disable REST API User Endpoints”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.7 (2021.05.01)

1.6 (2021.01.08)

  • Test up to WordPress 5.6

1.5 (2020.05.10)

1.4 (2020.05.10)

1.3 (2019.12.26)

1.2 (2019.04.05)

  • Refactor based on PHPCS and WPCS

1.1 (2019.02.20)

  • Test up to WordPress 5.1

1.0 (2018.03.27)

  • Initial release