[buddypress-trac] [BuddyPress] #4215: bp_core_fetch_avatar html pref checking should use !empty

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon May 21 08:57:19 UTC 2012


#4215: bp_core_fetch_avatar html pref checking should use !empty
--------------------------+-----------------------------
 Reporter:  magnus78      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 When bp_core_fetch_avatar checks the html pref it checks it using  true
 === $html. This makes it harder then necessary to override (e.g. passing
 $html=0 won't work).  I propose to use !empty instead.

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


More information about the buddypress-trac mailing list