plugin-icon

SMNTCS Disable REST API User Endpoints

Автор: Niels Lange·
Disable the REST API user endpoints due to obscure user slugs.
Рейтинг
5/5
Версия
2.4
Активные установки
5K
Последние изменения
Dec 31, 2024
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.

Contribute

Contributions are more than welcome. Simply head over to Github and open an issue or a pull request.

Проверено на
WordPress 6.7.4
Этот плагин можно скачать и использовать при .