[wp-trac] [WordPress Trac] #37379: Pass Profile User Data In User Profile Picture Description

WordPress Trac noreply at wordpress.org
Sat Jul 16 05:36:40 UTC 2016


#37379: Pass Profile User Data In User Profile Picture Description
----------------------------+-----------------------------
 Reporter:  turtlepod       |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Users           |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 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:'''

 {{{#!php

 echo apply_filters( 'user_profile_picture_description', $description,
 $profileuser );

 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37379>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list