Changes between Initial Version and Version 1 of Ticket #7424, comment 2
- Timestamp:
- 06/22/2017 12:06:00 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7424, comment 2
initial v1 1 `01.patch` deprecates the older `bp_core_fetch_avatar_filter()` function in favor for the newer `'bp_core_get_avatar_data_filter()' function, which filters the newer `'get_avatar_data'` filter available since WordPress 4.2. The `'get_avatar_data'` filter should also cover the `'get_avatar_url'` filter. 1 `01.patch` deprecates the older `bp_core_fetch_avatar_filter()` function in favor for the added `bp_core_get_avatar_data_filter()` function. 2 3 `bp_core_get_avatar_data_filter()` hooks to the newer `'get_avatar_data'` filter available since WordPress 4.2. The `'get_avatar_data'` filter should also cover the `'get_avatar_url'` filter. 2 4 3 5 The reason for deprecation is BP 2.9 supports a minimum of WP 4.4 and the `'get_avatar'` filter is old. The `get_avatar()` function itself uses `get_avatar_data()`.