Changeset 5844
- Timestamp:
- 02/26/2012 12:55:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r5762 r5844 354 354 $email = apply_filters( 'bp_core_gravatar_email', $email, $item_id, $object ); 355 355 $gravatar = apply_filters( 'bp_gravatar_url', $host ) . md5( strtolower( $email ) ) . '?d=' . $default_grav . '&s=' . $grav_size; 356 357 // Gravatar rating; http://bit.ly/89QxZA 358 $rating = get_option( 'avatar_rating' ); 359 if ( ! empty( $rating ) ) 360 $gravatar .= "&r={$rating}"; 356 361 357 362 // No avatar was found, and we've been told not to use a gravatar.
Note: See TracChangeset
for help on using the changeset viewer.