[buddypress-trac] [BuddyPress Trac] #6298: Admin toolbar avatar wrong when visiting WP admin's options-discussion.php page

buddypress-trac noreply at wordpress.org
Sun Mar 15 23:44:08 UTC 2015


#6298: Admin toolbar avatar wrong when visiting WP admin's options-discussion.php
page
---------------------------+-----------------------------
 Reporter:  henry.wright   |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  API - Avatars  |    Version:
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 Inside {{{bp_core_fetch_avatar_filter()}}} there is:

 {{{
 // Do not filter if inside WordPress options page
 if ( 'options-discussion.php' == $pagenow )
     return $avatar;
 }}}

 This causes an issue when viewing the options-discussion.php in the WP
 admin area.

 Steps to reproduce:

 1. Upload a profile photo via /change-avatar/
 2. Visit the WP admin area, navigate around, and keep a close eye on your
 profile photo in the admin toolbar (top right-hand corner of the screen).
 You'll notice the profile photo displays nicely '''until''' you get to the
 options-discussion.php page (at which point you'll see something like the
 mystery person).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6298>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list