Need to support old admin bar node ID my-account-with-avatar
|Reported by:||nacin||Owned by:||ryan|
|Severity:||normal||Keywords:||has-patch commit needs-refresh dev-reviewed|
In 3.2, the my account ID varied from my-account-with-avatar to my-account, depending on whether avatars were enabled. This was moved to classes in 3.3 where it belongs.
Unfortunately plugins may have been using my-account-with-avatar. We need to preserve these mappings.
A quick search of the directory found BuddyPress was among the plugins that did this. And smartly, for that matter -- $bp->my_account_menu_id = ( ! empty( $avatar ) ) ? 'my-account-with-avatar' : 'my-account';.
Change History (18)
comment:12 ryan — 2 years ago
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed