Skip to:

Opened 12 years ago

Closed 12 years ago

#1963 closed defect (bug) (fixed)

Custom post type menus disappear after profile update

Reported by: jaredatch's profile jaredatch Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Back-end Keywords:
Cc: stephen@…


Editing your profile through bbPress results in the CPT menus disappearing.

Able to duplicate this on bbPress/WordPress trunk.

Test user account is admin with full admin privileges.

  • Edit your profile via
  • Update anything.
  • Save.
  • Go back to WordPress admin and the Forum/Topic/Reply menus are now gone.

Change History (6)

#1 @netweb
12 years ago

  • Cc stephen@… added

Confirmed with WordPress 3.5-beta1-22104 and bbPress [4230]

#2 @anointed
12 years ago

I was just coming in to post about disappearing menus for no apparent reason. Glad I found this thread as I was going insane trying to track down this bug.

Great catch figuring this out. I never ever would have guessed that editing the profile was the cause of my menus disappearing. I was going nuts as it seemed to happen for no apparent reason.

#3 @jaredatch
12 years ago

It took me a bit to track it down, trust me :P

Problem lies in bbp_save_user_caps() (bbp-core-caps.php), but I haven't played with all the new caps enough to easily figure out what's not right.

#4 @jaredatch
12 years ago

This goes along with the same bug I think.

On I updated my profile bio and now I am unable to reply to topics!

#5 @johnjamesjacoby
12 years ago

Yep; lame. Looking into it.

#6 @johnjamesjacoby
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4236]) Capabilities:

  • Introduce sub-action for saving a users profile.
  • Hook capability saving functions to this new action.
  • Remove duplicate admin routine from /bbp-admin/bbp-users.php.
  • Remove hardcoded capability saving from bbp_edit_user_handler().
  • Add edit_user capability checks to cap save and reset functions.
  • Fixes bug when caps would be lost when a user saves their own profile.
  • Fixes #1963.
Note: See TracTickets for help on using tickets.