Title: Allow Username Edit
Author: thaxam
Published: <strong>21 سپتامبر 2025</strong>
Last modified: 21 سپتامبر 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/allow-username-edit/assets/banner-772-250.png?rev=3365403)

![](https://ps.w.org/allow-username-edit/assets/icon-256x256.png?rev=3365407)

# Allow Username Edit

 توسط [thaxam](https://profiles.wordpress.org/thaxam/)

[دانلود](https://downloads.wordpress.org/plugin/allow-username-edit.1.0.7.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/allow-username-edit/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/allow-username-edit/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/allow-username-edit/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/allow-username-edit/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/allow-username-edit/)

## توضیحات

The **Allow Username Edit** plugin provides a secure and user-friendly way for WordPress
administrators to edit user usernames. By default, WordPress prevents username changes
to maintain data integrity. This plugin overrides that limitation but adds a crucial
safety feature: an **activation checkbox**.

The username field is read-only by default, protecting it from accidental edits.
To make a change, an administrator must explicitly check the “Activate username 
editing” box. This two-step process ensures that every username change is intentional.

**Key Features:**
 * **Safe Username Editing:** Prevents accidental edits by requiring
an activation checkbox to be checked. * **User-Friendly Interface:** Integrates 
seamlessly into the WordPress user profile and user edit screens. * **Dynamic Help
Text:** The description below the username field updates dynamically to inform the
admin whether editing is enabled or protected. * **Settings Page:** Includes a dedicated
settings page under “Settings > Username Edit” with plugin information, usage instructions,
and a link to support future development. * **Secure and Compliant:** Follows WordPress
best practices, including the use of nonces, proper permission checks, and a consistent
text domain for internationalization.

This plugin is ideal for site managers who need the flexibility to correct username
typos or update usernames upon user request, without compromising on safety.

## عکس‌های صفحه

 * [[
 * [[

## نصب

 1. Upload the `allow-username-edit` folder to the `/wp-content/plugins/` directory
    on your server.
 2. Activate the plugin through the ‘Plugins’ menu in your WordPress admin area.
 3. (Optional) Visit “Settings > Username Edit” to view plugin information and support
    options.

## سوالات متداول

### How does the username protection work?

The plugin makes the username input field “read-only” by default. To edit the username,
you must first check the “Activate username editing” checkbox above the username
field. This prevents accidental changes.

### Can I use email addresses as usernames?

No. For security reasons, the plugin prevents usernames that contain the “@” symbol
or resemble email addresses. If you try to enter an email-like username, you will
see a warning and the change will be blocked.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Allow Username Edit” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ thaxam ](https://profiles.wordpress.org/thaxam/)

[ترجمه “Allow Username Edit” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/allow-username-edit)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/allow-username-edit/),
check out the [SVN repository](https://plugins.svn.wordpress.org/allow-username-edit/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/allow-username-edit/)
by [RSS](https://plugins.trac.wordpress.org/log/allow-username-edit/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0.7 – 2025-10-01

 * **Security:** Improved security by centralizing permission and nonce checks in
   a helper function.
 * **Security:** Added validation to prevent email-like usernames containing “@”
   symbol with error message.
 * **Enhancement:** Added real-time warning when typing “@” in username field to
   discourage email usage.
 * **Enhancement:** Ensured nonce verification and current_user_can() checks are
   consistent and not bypassable.
 * **Internationalization:** Added all labels and warning texts to translation template
   for full i18n support.
 * **Refactor:** Updated validation and update functions to use centralized checks.
 * **Maintenance:** Refactored code for better maintainability and security.

#### 1.0.6 – 2025-09-30

 * **Security:** Enhanced nonce verification and input sanitization across all user
   input handling functions.
 * **Fix:** Resolved username saving issue by implementing direct database update
   with proper validation.
 * **Fix:** Prevented infinite recursion in username update function using static
   flag.

#### 1.0.5 – 2025-09-29

 * **Tweak:** Corrected plugin asset structure and removed inaccurate screenshot
   references from readme.txt to adhere to WordPress.org standards.

#### 1.0.4 – 2025-09-28

 * **Fix:** Refactored code to remove heredoc syntax, adhering to stricter WordPress
   coding standards.

#### 1.0.3 – 2025-09-27

 * **Fix:** Corrected all internationalization (i18n) function calls to include 
   a consistent text domain (`allow-username-edit`) as required by WordPress standards.
 * **Tweak:** Standardized the `Text Domain` in the plugin header to `allow-username-
   edit` for consistency.

#### 1.0.2 – 2025-09-26

 * **Fix:** Reworked the checkbox injection logic to use a more reliable `admin_footer`
   hook and JavaScript DOM manipulation.

#### 1.0.1 – 2025-09-25

 * **Fix:** Corrected a fatal PHP syntax error.

#### 1.0.0 – 2025-09-24

 * **Feature:** Added a checkbox to activate/deactivate username editing.
 * **Feature:** Added a settings page with a PayPal donate link.

#### 1.0.0

 * Initial stable version.

## اطلاعات

 *  نگارش **1.0.7**
 *  Last updated **8 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 5.8 یا بالاتر **
 *  Tested up to **6.8.5**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/allow-username-edit/)
 * Tags
 * [admin](https://fa.wordpress.org/plugins/tags/admin/)[edit](https://fa.wordpress.org/plugins/tags/edit/)
   [security](https://fa.wordpress.org/plugins/tags/security/)[username](https://fa.wordpress.org/plugins/tags/username/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/allow-username-edit/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/allow-username-edit/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/allow-username-edit/reviews/)

## مشارکت کنندگان

 *   [ thaxam ](https://profiles.wordpress.org/thaxam/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/allow-username-edit/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://paypal.me/thaxam)