Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#35868 new enhancement

Add Filter for Profile User Description Bio

Reported by: wordpresssites's profile wordpresssites Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: Cc:

Description

I see there's a filter for user_contactmethods and user_profile_picture_description but not for the bio.

Change History (5)

#1 @ocean90
8 years ago

  • Keywords reporter-feedback added

@wordpresssites Do you mean a filter for "Share a little biographical information to fill out your profile. This may be shown publicly." in tags/4.4.2/src/wp-admin/user-edit.php#L437 or a filter for the description of a user?

#2 @wordpresssites
8 years ago

Line 431 to 438 so the whole box and header/description text can be removed/modified. Personally, i just want to remove it conditonally for non admins.

#3 @swissspidy
8 years ago

  • Keywords reporter-feedback removed

If we'd make this field removable, we should also make the other fields removable, for the sake of consistency.

For this, we should use the Settings API or the upcoming Fields API.

See #16413, #28754, https://make.wordpress.org/core/tag/fields-api/.

#4 @sc0ttkclark
8 years ago

+1 on waiting, Fields API would be my choice, using Settings API in an expanded context should be avoided at this time.

Fields API already supports removal of controls from the user profile, so that's a plus :)

#5 @chriscct7
8 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.