跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

EnumGuard

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

EnumGuard

由 Alex Hedström 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

EnumGuard is a focused WordPress plugin that stops attackers from confirming that a username or user ID exists. WordPress still prints those signals by default; EnumGuard closes the usual paths without hiding display names on posts.

Under Settings → EnumGuard you get three tabs:

  • Protections — overview of which discovery paths are closed
  • Settings — toggles and custom login / reset messages
  • About — plugin info

Protections covered:

  • Author ID queries (?author=1) that would otherwise redirect to the author archive
  • Author archives and their feeds
  • Author archive links printed in HTML
  • author-{id} / author-{nicename} body, post, and comment CSS classes
  • Core users sitemap (/wp-sitemap-users-1.xml)
  • Unauthenticated /wp-json/wp/v2/users (including ?rest_route=)
  • REST _embed author payloads and author link headers
  • Login error messages that distinguish “bad username” from “bad password”
  • Lost-password responses (same confirmation whether the account exists)
  • oEmbed author_url / author_name
  • XML-RPC user-listing methods, with an optional full XML-RPC disable
  • Author sitemaps and author archive URLs from Yoast, Rank Math, and The SEO Framework

Recommended protections ship enabled. Gutenberg still reaches the users REST API for logged-in editors. Display names stay visible. Login and reset protections also cover WooCommerce forms when WooCommerce is active. XML-RPC can be turned off completely if you do not need Jetpack, pingbacks, or the WordPress mobile app.

安裝方式

  1. Upload the enumguard folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open Settings → EnumGuard to review protections.

常見問題集

Will authors still show on posts?

Yes. Display names stay in content. EnumGuard stops login slugs, author archive URLs, and existence oracles—not bylines.

Does this break the block editor?

No. Logged-in users who can edit posts or list users still reach /wp/v2/users. Guests get a generic 404.

What about WooCommerce?

Login and lost-password protections apply to the WooCommerce account forms as well as wp-login.php. Bylines and display names are unchanged.

What about the WordPress mobile app?

The app uses wp.getUsersBlogs. That method is removed while “XML-RPC user methods” is on. Turn that protection off if you need the app. Do not enable “Disable XML-RPC.”

Can I keep author archives for a magazine site?

Yes. Disable “Author archives” and “Author archive links” on the Settings tab. Keep author ID queries blocked so ?author=1 cannot reveal the nicename.

Does uninstall remove settings?

Yes. Uninstall deletes EnumGuard options on the current site, and on every site in a multisite network.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈EnumGuard〉的開發相關工作。

參與者
  • Alex Hedström

將〈EnumGuard〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.0

  • Initial release.

中繼資料

  • 版本 1.0.0
  • 最後更新 1 個月前
  • 啟用安裝數 20+
  • WordPress 版本需求 6.3 或更新版本
  • 已測試相容的 WordPress 版本 7.1.3
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    loginrest-apisecurityuser enumerationxml-rpc
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Alex Hedström

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Taiwan 正體中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩