[buddypress-trac] [BuddyPress Trac] #7568: Avoid passing WP_Comment object to `is_email()` when filtering avatar URL

buddypress-trac noreply at wordpress.org
Wed Jul 12 16:49:40 UTC 2017


#7568: Avoid passing WP_Comment object to `is_email()` when filtering avatar URL
--------------------------+------------------
 Reporter:  needle        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  Core          |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by r-a-y):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 2.9


Comment:

 Ugh.  Good catch.

 I hate that we have to do our own user checking in the `'get_avatar_url'`
 filter.  WordPress shouldn't make us have to do that.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7568#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list