Opened 8 years ago
Closed 8 years ago
#37379 closed enhancement (fixed)
Pass Profile User Data In User Profile Picture Description
Reported by: | turtlepod | Owned by: | deremohan |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.6 |
Component: | Users | Keywords: | good-first-bug has-patch 4.7-early |
Focuses: | administration | Cc: |
Description
Currently "user_profile_picture_description" filter in "wp-admin/user-edit.php" did not have user data attached to it.
Current stable (4.5.3)
https://github.com/WordPress/WordPress/blob/4.5.3/wp-admin/user-edit.php#L479
Trunk/Master:
https://github.com/WordPress/WordPress/blob/master/wp-admin/user-edit.php#L479
By adding user data, we can filter it based on user data, useful for per-user basis Profile Picture information.
example code:
echo apply_filters( 'user_profile_picture_description', $description, $profileuser );
Attachments (1)
Change History (7)
#1
@
8 years ago
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to Future Release
#3
@
8 years ago
- Keywords 4.7-early added; needs-testing removed
- Owner set to deremohan
- Status changed from new to assigned
Assigning the ticket to mark the good-first-bug as "claimed".
This ticket was mentioned in Slack in #core by helen. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
WP_User $profileuser object passed to filter.