Ticket #7516: 7516.01.patch
| File 7516.01.patch, 683 bytes (added by , 9 years ago) |
|---|
-
src/bp-members/bp-members-template.php
1159 1159 * @param string|bool $data Profile data if found, otherwise false. 1160 1160 * @param array $r Array of parsed arguments. 1161 1161 */ 1162 $data = apply_filters( 'bp_get_member_profile_data_' . $profile_data[ $r['field'] ]['field_type'], $data, $r ); 1162 if ( ! empty( $profile_data[ $r['field'] ]['field_type'] ) ) { 1163 $data = apply_filters( 'bp_get_member_profile_data_' . $profile_data[ $r['field'] ]['field_type'], $data, $r ); 1164 } 1163 1165 1164 1166 return $data; 1165 1167 }