[buddypress-trac] [BuddyPress] #3806: Deprecate sprintf() in 'alt' param of bp_core_fetch_avatar()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Dec 9 04:22:45 UTC 2011


#3806: Deprecate sprintf() in 'alt' param of bp_core_fetch_avatar()
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by johnjamesjacoby):

 (In [5468]) Remove debug cruft from r5466.

 In bp_core_fetch_avatar():
 * Use switch statements to set defaults
 * Use empty() to prevent notices
 * General code clean-up
 * See #3806

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


More information about the buddypress-trac mailing list