BACK TO DIRECTORY

SMNTCS Disable REST API User Endpoints

by Niels Lange

5.0
(2 ratings)

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.

Plugin Details

Active Installs
8K+
Total Downloads
38,850
Version
2.5
Requires WP
5.5
Requires PHP
5.6
Tested Up To
7.0.4
Added
2016-12-24
Last Updated
2026-08-14 1:38pm GMT

Ratings

5
2
4
0
3
0
2
0
1
0