[buddypress-trac] [BuddyPress Trac] #5999: Notice when uploading a group avatar with WP Trunk (4.1)

buddypress-trac noreply at wordpress.org
Sat Nov 8 06:08:10 UTC 2014


#5999: Notice when uploading a group avatar with WP Trunk (4.1)
--------------------------+------------------
 Reporter:  imath         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by DJPaul):

 I'm not sure why you need to cast the value of `bp_is_group_admin_screen`
 and `group-avatar' == bp_action_variable( 1 )` to bools; they both return
 bools anyway. I think you can also use `===` here safely.

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


More information about the buddypress-trac mailing list