| 开发者 | 3task |
|---|---|
| 更新时间 | 2026年10月24日 04:21 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/wp/v2/users lists the login names of your authors, and /wp-json/ lists every route, and with it most of your plugins. Newer WordPress versions also bring the Abilities API, and some plugins bring an MCP server along that lets AI agents work on your site. Many site owners do not know that these doors exist.
Doors
One click closes a door. The first four are closed after activation, because guests never need them:
/wp/v2/users no longer reveals login names. The block editor keeps working./batch/v1 runs several requests in one. Guests do not need it. Every request inside a batch is checked on its own as well.* also covers everything below it: contact-form-7/v1 covers /contact-form-7/v1/contact-forms/5/feedback. * stands for any characters.Cache-Control: no-store. A closed route does not reveal parameter names, even when the request is invalid.Add define( 'THREEDOOR_DISABLE', true ); to wp-config.php. Every rule of the plugin is then off and you can correct the settings.
The doors closed after activation do not affect forms. If you switch guests to "closed, with an allow list", use the learning mode first: forms like Contact Form 7 send to their own REST route, and the suggestion contains it once a visitor used it.
No. Updates fix vulnerabilities. Closing doors that nobody needs is a second lock.
No. That flaw is in PHP itself and is triggered before WordPress loads, so no plugin can close it. Only the PHP update from your host does (8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer; some hosts backport the fix without changing the version number, ask them). The same is true for every WordPress plugin, whatever it promises.
Its settings and the daily counters of the learning mode (route, method, kind of caller, outcome, number). No IP addresses, no user agents, no request content. Uninstalling removes everything.
No.
WordPress itself registers the Abilities API (wp-abilities/v1). An MCP server (mcp) is added by plugins that bundle the WordPress MCP adapter, for example some SEO plugins. The namespace overview shows which one.