[wp-trac] [WordPress Trac] #32286: How do I change my profile picture?

WordPress Trac noreply at wordpress.org
Fri Oct 30 17:39:11 UTC 2015


#32286: How do I change my profile picture?
-------------------------------------------------+-------------------------
 Reporter:  iseulde                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.4
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-screenshots has-  |     Focuses:
  patch                                          |  administration
-------------------------------------------------+-------------------------
Changes (by obrienlabs):

 * keywords:  good-first-bug has-screenshots needs-patch => good-first-bug
     has-screenshots has-patch


Comment:

 I think it might make sense to have the avatar show when you access any
 user edit page, not just your own user edit page. So I'm attaching a new
 patch that moves the `IS_PROFILE_PAGE` conditional down a little to only
 display the description div when `IS_PROFILE_PAGE` is true.

 I also (''think'') I've got the text filterable correct and hope I have
 the formatting correct, too. I didn't know where to add the filter
 callback, so I added it to the end of `user-functions.php`. I had to
 update the `printf` to `sprintf` when adding the filter portion. The
 `printf` was adding an integer to the end of the sentence.

 This is my first time doing a patch submission, a little nervous and I
 sure hope I got everything right!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32286#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list