跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Change Username

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Change Username

由Danny van Kooten
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

Change WordPress usernames from the user edit screen, with validation for existing users, illegal logins, and Multisite admins.

Change Username

WordPress does not let administrators change usernames by default. Change Username adds that option directly to the existing user edit screen, without a separate settings page.

Use it to update a WordPress username while keeping the same user ID, posts, comments, and profile data attached to the account.

Features

  • Change any WordPress username from the existing user edit screen.
  • Prevent username conflicts by checking whether the new username already exists.
  • Block usernames that are listed as illegal logins.
  • Follow the same username validation rules as WordPress core.
  • Retain superadmin rights when changing the username of a Multisite super admin.

Requirements

  • PHP version 7.4 or higher
  • WordPress version 6.0 or higher

About the plugin author

Danny van Kooten has been building WordPress plugins since 2010, starting with WordPress 3.0.

He is the founder of ibericode, the small software company behind popular WordPress plugins including Mailchimp for WordPress and Koko Analytics.

螢幕截圖

Change a WordPress username from the default user edit screen.
Change a WordPress username from the default user edit screen.

安裝

Installing the plugin

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Change Username and click “Install now“
  2. Alternatively, download the plugin and upload the contents of change-username.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Go to Users, edit a user, and change the username from the existing user edit screen.

常見問題

Where do I change a WordPress username after activation?

Go to Users, open the user you want to edit, and use the username control on the existing user edit screen.

Can I change an administrator username?

Yes. Any user with the edit_users capability can change usernames, including administrator usernames.

Can users change their own username?

Not right now. Only administrators with the edit_users capability can change usernames.

Does changing a username affect user IDs or posts?

No. The plugin changes the user’s login name, but it does not change the user ID. Existing posts, pages, comments, and user metadata stay assigned to the same user account.

Does this work on WordPress Multisite?

Yes. When changing the username of a Multisite super admin, the plugin keeps that user in the super admin list.

I’ve activated the plugin but nothing happens.

Please check if your server is running PHP version 7.4 or higher. The plugin will not do anything if you’re on an older version of PHP.

評價

Simple and great

Anh Tran 2026年6月20日
This plugin is simple, lightweight and does one thing and it does very well. Nothing fancy, bloated or unneeded. I use it on all the sites whenever I need to change username. Thank you very much for creating this plugin!

Works great!

Daan van den Bergh 2026年6月19日
I’ve been using this plugin for years, not knowing that the one and only Danny van Kooten was behind it. Now I do, so it was about time to place this well-deserved 5 star review. Bij deze!

Super!

pawelboc 2025年10月27日
Super!

Does exactly what it should

clip1492 2025年6月26日
The plugin does exactly what it promises — and it does it well, without any issues. Some might point out the lack of frequent updates, but in my opinion, that’s actually a good sign: when a plugin this simple works reliably, it means there’s nothing that needs fixing.It also integrates perfectly into the user page, with no bloat or unnecessary overhead — clean, simple and efficient.

It still works well but hasn’t been updated in a long time

default-design 2023年8月29日
It still works well but it hasn’t been updated in a long time, so I recommend another one: WP Edit Username

this did nothing

ofihsdfoi 2023年1月3日
I typed in the new username, but nothing happened. It does not work.
閱讀全部7個評價

貢獻者及開發者

“Change Username” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Danny van Kooten
  • ibericode

將 Change Username 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.3 – Jun 19, 2026

  • Bump required PHP version to 7.4 or higher.
  • Bump required WordPress version to 6.0 or higher.
  • Bump tested WordPress version to 7.0.
  • Fix retaining Multisite super admin rights when the user is first in the super admin list.
  • Improve sanitization of submitted username values.
  • Add PHPCS and PHPStan checks to the release process.
  • Exclude Makefile from plugin release packages.

1.0.2 – Oct 04, 2024

  • Show message when new username is less than 3 characters long.
  • Show message when new username is more than 60 characters long.
  • Improved request validation in general.
  • Remove ES6 code from JS file to support a wider range of browsers.
  • Bump required PHP version to 7.2 or higher.

1.0.1 – Dec 23, 2022

  • Always load minified JS asset by default

1.0 – Dec 2016

Initial release.

其它

  • Version 1.0.3
  • Last updated 4 週之前
  • Active installations 4,000+
  • WordPress version 6.0 or higher
  • Tested up to 7.0.1
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    loginmultisiteuser managementusernameusers
  • 進階顯示

評分

4.6 out of 5 stars.
  • 6 5-star reviews 5 stars 6
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 1 2-star review 2 stars 1
  • 0 1-star reviews 1 star 0

Your review

See all reviews

貢獻者

  • Danny van Kooten
  • ibericode

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.