跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

WP Edit Username

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

WP Edit Username

作者:Sajjad Hossain Sagor
下载
实时预览
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin adds feature to edit/change user username.

Features:

  • Edit Username: Allows editing of usernames.
  • Only users with the edit_other_users() capability can change usernames.
  • If the “Send Email” option is enabled, the user will receive a notification email when their username is changed.
  • You can customize the email subject and body text in the admin dashboard or via filter hooks.
  • Modify the email subject using the filter: wpeu_email_subject.
  • Modify the email headers using the filter: wpeu_email_headers.
  • Adjust the email body content using the filter wpeu_email_body. (Note: $new_username and $old_username are automatically prepended to the email content).

Hooks Usage:

<?php

add_filter( 'wp_username_changed_email_subject', 'change_email_subject' );

function change_email_subject( $subject )
{
    $subject = 'Your customized subject';

    return $subject;
}

add_filter( 'wp_username_changed_email_body', 'change_email_body' );

function change_email_body( $old_username, $new_username )
{
    $email_body = "Your custom email text body.";

    return $email_body;
}

?>

屏幕截图

  • Settings panel for WP Edit Username plugin.
  • Username Edit Button.
  • New Username Input Field.
  • After Username Changed Message.

安装

To add a WordPress Plugin using the built-in plugin installer:

Go to Plugins > Add New.

  1. Type in the name “WP Edit Username” in Search Plugins box
  2. Find the “WP Edit Username” Plugin to install.
  3. Click Install Now to begin the plugin installation.
  4. The resulting installation screen will list the installation as successful or note any problems during the install.
    If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

To add a WordPress Plugin from GitHub repo / plugin zip file :
1. Go to WordPress plugin page
2. Click Add New & Upload Plugin
3. Drag / Click upload the plugin zip file
4. The resulting installation screen will list the installation as successful or note any problems during the install.
If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

常见问题

How to use this plugin?

Just after installing WP Edit Username plugin, Go to user profile and edit user username by clicking Edit button.

Update inputs according to your requirement and you are good to go.

评价

gets the job done

ahmedalaa01v 2024 年 9 月 5 日
gets the job done

does its job 😉

default-design 2023 年 8 月 29 日
does its job 😉

Easy, quick! PLEASE UPDATE FOR CURRENT WP VERSION

gpworx 2022 年 12 月 14 日
THANK YOU!!! Using this plugin with ProfileGrid and could not change user names — even from phpMyAdmin. This plugin does the job AND offers to send an email to the user and admin about the change. Awesome! Please update this plugin for security with the latest version of Wordpress. Thank you again!

Good

Tanjimul Islam 2018 年 4 月 30 日
Nice effort…Well done! We want more.

nice WP Edit Username

parvezpreo 2018 年 4 月 29 日
good working .. Awesome plugin. #LOVE it
阅读所有5条评价

贡献者及开发者

「WP Edit Username」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Sajjad Hossain Sagor

「WP Edit Username」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「WP Edit Username」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

2.0.5

  • Checked for latest wp version 6.9

2.0.4

  • Fixed issue: typo giving fatal error

2.0.3

  • Applied security patch and added more html tags to the allowed html list

2.0.2

  • Checked for latest wp version 6.8

2.0.1

  • Minor changes in codebase only.

2.0.0

  • Major changes in codebase. Compatibility checkup for latest wp version 6.7, updated bootstrap to latest, removed unused css and added confirmation before submitting username change form.

1.0.8

  • Updated button type from default ‘submit’ to ‘button’

1.0.7

  • Checked for latest wp version 6.6

1.0.6

  • Fixed Plugin settings XSS vulnerability.

1.0.5

  • Added additional email sender : User Only. Added bunch of shortcodes to use in the subject and email body.

1.0.4

  • Checked for latest wp version 6.3

1.0.3

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.2

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.1

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.0

  • Initial release.

额外信息

  • 版本 2.0.5
  • 最后更新:4 月前
  • 活跃安装数量 2,000+
  • WordPress 版本 5.6 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 8.0 或更高版本
  • 语言

    Chinese (Taiwan) 和 English (US).

    翻译成简体中文

  • 标签
    ajaxChange Usernameprofile-edituser profileusername
  • 高级视图

评级

5 星(最高 5 星)。
  • 5 条 5 星评价 5 星 5
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Sajjad Hossain Sagor

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.