Title: Block Profile Edits
Author: treeflips
Published: <strong>2026 年 5 月 31 日</strong>
Last modified: 2026 年 6 月 1 日

---

搜尋外掛

![](https://ps.w.org/block-profile-edits/assets/banner-772x250.png?rev=3556360)

![](https://ps.w.org/block-profile-edits/assets/icon-256x256.png?rev=3556360)

# Block Profile Edits

 由 [treeflips](https://profiles.wordpress.org/treeflips/) 開發

[下載](https://downloads.wordpress.org/plugin/block-profile-edits.1.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/block-profile-edits/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/block-profile-edits/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/block-profile-edits/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/block-profile-edits/#developers)

 [技術支援](https://wordpress.org/support/plugin/block-profile-edits/)

## 外掛說明

Block Profile Edits lets administrators restrict specific user roles from editing
their own profile fields. You can choose which roles and profile fields to restrict,
and also show a custom message to restricted users.

This plugin was originally inspired to prevent users from unauthorized redistributing
or reselling account access. A common problem with unwanted abuse of GPL themes/
plugins. Sites using PDF-stampers to watermark ebooks will also benefit since users
cannot change their personal information.

### Features:

 * Choose user roles to restrict – Subscriber, Customer, Student, etc. (Administrators
   are exempt.)
 * Choose profile fields to lock – Name, Email, etc.
 * Display custom message – to restricted users, e.g. “Sorry this info cannot be
   changed.”
 * Frontend/Backend restriction – works anywhere account profile fields are shown.
 * Server-side enforcement – for WP-admin profile saves and WordPress user update
   APIs.
 * Clean, modular code – lightweight, minimalist, no site-slowdown.

### Technical Notes:

 * Restriction only works on default WordPress profile fields. Extra fields added
   by plugins are not yet integrated, may be considered for future development.
 * Frontend behavior may vary depending the page template. Most cases appear as 
   normal, fields are visually blocked (greyed out) and custom message is shown.
   In some cases, fields appear as editable but data won’t save when submitted.
 * Testing shortcode – add `[treeflips_bpe_test_form]` to any page to test frontend
   restrictions for logged-in users. Locked fields should render as read-only and
   display the restriction message.

## 安裝方式

 1. Upload the plugin files to `/wp-content/plugins/block-profile-edits`.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Go to **Users > Block Profile Edits** to configure restrictions.

## 常見問題集

### Will this affect frontend profile editing plugins?

It can. Frontend forms that use WordPress user update APIs will be blocked for locked
fields. Custom forms that write directly to the database may bypass WordPress hooks.

### Are administrators restricted?

No. Users with the administrator role always have full edit access.

## 使用者評論

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

## 參與者及開發者

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

參與者

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

[將〈Block Profile Edits〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/block-profile-edits)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/block-profile-edits/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/block-profile-edits/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/block-profile-edits/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/block-profile-edits/)。

## 變更記錄

#### 1.1.0

 * Renamed testing shortcode to `treeflips_bpe_test_form` for distinct prefixing.
 * Replaced inline `<style>` and `<script>` tags with `wp_add_inline_style()` and`
   wp_add_inline_script()`.
 * Removed unnecessary custom translation loader (auto-loaded in WP 5.8+).
 * Updated public code identifiers and options to use the distinct `treeflips_bpe`
   prefix.
 * Removed the deprecated testing shortcode alias.

#### 1.0.6

 * Updated readme descriptions and text.
 * Removed domain path “/languages”.

#### 1.0.5

 * Updated the frontend test shortcode to submit with AJAX and show inline success/
   error messages without page reloads.

#### 1.0.4

 * Updated the frontend test shortcode to visually lock restricted fields and show
   the configured restriction message.

#### 1.0.3

 * Added frontend restriction testing shortcode.

#### 1.0.2

 * Strengthened server-side protection for locked core profile fields across backend,
   frontend, AJAX, REST, and WordPress user update API requests.
 * Prevented locked profile meta from being added, updated, or deleted for restricted
   users.
 * Removed duplicate native browser tooltip on locked backend fields.

#### 1.0.1

 * Fixed profile screen asset loading for locked backend fields.
 * Improved locked field message behavior for pointer and touch users.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **1 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/block-profile-edits/)
 * 標籤:
 * [lock](https://tw.wordpress.org/plugins/tags/lock/)[Profile Fields](https://tw.wordpress.org/plugins/tags/profile-fields/)
   [restrict](https://tw.wordpress.org/plugins/tags/restrict/)[roles](https://tw.wordpress.org/plugins/tags/roles/)
   [user profile](https://tw.wordpress.org/plugins/tags/user-profile/)
 *  [進階檢視](https://tw.wordpress.org/plugins/block-profile-edits/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/block-profile-edits/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/block-profile-edits/reviews/)

## 參與者

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

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/block-profile-edits/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/paypalme/wpjohnny)