This is what it does
What a logged-out visitor gets
Pick the requests a stranger could send. This runs the two rules inside the drop-in file and shows the verdict for each — including the surfaces the file deliberately does not cover.
The file’s own two rules, run over the requests you pick — not a live WordPress site
Signed in?
Requests to make
The rules are the file’s own: for logged-out callers it unregisters every REST route whose key begins /wp/v2/users, and it turns is_author() or an author query variable into a 404 through WordPress’s own query object. Signed-in administrators keep the full API.
A URL rule has to enumerate the spellings an attacker might use; unregistering the route does not. That is why the path form and the query-string form of the same call get the same verdict here, and why comments, oEmbed and the core user sitemap are marked as outside this file rather than quietly passing.