Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5253 closed defect (bug) (fixed)

WP Admin Bar > Edit Member profile and edit avatar subnav in case xprofile is deactivated

Reported by: imath's profile imath Owned by: r-a-y's profile r-a-y
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.5
Component: Members Keywords: has-patch


Version 1.9-beta1

It's a rare case : if the component xprofile is deactivated, then the WP Admin Bar still shows admin links to modify the user's profile or his gravatar. Clicking on one of them leads to 404.

I suggest the diff attached to this ticket.

Attachments (1)

5253.diff (1.6 KB) - added by imath 10 years ago.

Download all attachments as: .zip

Change History (4)

10 years ago

#1 follow-up: @r-a-y
10 years ago

  • Milestone changed from Awaiting Review to 1.9
  • Version changed from 1.8.1 to 1.5

Good catch, imath. It's been like this for awhile.

#2 @r-a-y
10 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 7592:

Only show the 'Edit Profile' and 'Edit Avatar' adminbar items if the
xprofile component is active.

These links are dependent on the xprofile component being active.

Fixes #5253. Props imath.

#3 in reply to: ↑ 1 @imath
10 years ago

Replying to r-a-y:

Good catch, imath. It's been like this for awhile.

Thanks r-a-y ;)

Note: See TracTickets for help on using tickets.