Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37379 closed enhancement (fixed)

Pass Profile User Data In User Profile Picture Description

Reported by: turtlepod's profile turtlepod Owned by: deremohan's profile 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:


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)


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)

37379.patch (591 bytes) - added by deremohan 8 years ago.
WP_User $profileuser object passed to filter.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
8 years ago

  • Keywords needs-patch good-first-bug added
  • Milestone changed from Awaiting Review to Future Release

8 years ago

WP_User $profileuser object passed to filter.

#2 @deremohan
8 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

#3 @SergeyBiryukov
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".

#4 @SergeyBiryukov
8 years ago

  • Milestone changed from Future Release to 4.7

This ticket was mentioned in Slack in #core by helen. View the logs.

8 years ago

#6 @SergeyBiryukov
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 38481:

Users: Pass $profileuser parameter to user_profile_picture_description filter on "Edit User" screen.

Props turtlepod, deremohan.
Fixes #37379.

Note: See TracTickets for help on using tickets.