mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
BP prevents admins from editing the visibility and field type settings of the Fullname field, because BP needs it to be public and a textarea. However, BP was enforcing this edit block by checking the `can_delete` flag of the BP_XProfile_Field object. In practice, it's usually the case that only field 1 will have the value of `can_delete = 0`. However - especially due to changes in [7419] - other fields can have `can_delete = 0` as well. The edit block should therefore be more specific, based on the ID of the field rather than on the value of can_delete. Fixes #5237 git-svn-id: https://buddypress.svn.wordpress.org/trunk@7564 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| admin | ||
| bp-xprofile-actions.php | ||
| bp-xprofile-activity.php | ||
| bp-xprofile-admin.php | ||
| bp-xprofile-buddybar.php | ||
| bp-xprofile-cache.php | ||
| bp-xprofile-caps.php | ||
| bp-xprofile-classes.php | ||
| bp-xprofile-cssjs.php | ||
| bp-xprofile-filters.php | ||
| bp-xprofile-functions.php | ||
| bp-xprofile-loader.php | ||
| bp-xprofile-screens.php | ||
| bp-xprofile-template.php | ||