Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#8174 closed defect (bug) (duplicate)

get_editable_user_ids() only check capabilities for post even when editing pages

Reported by: olethomas Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: General Keywords:
Focuses: Cc:


The function get_editable_user_ids() doesn't check if user is editing a page. It only check capabilities for edit_others_posts and edit_post. Can cause error in edit-page-form.php line 335 (revision 9633) if user hasn't got edit_post cap.

Change History (1)

#1 @ryan
10 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#8208 has the fix. Marking this as a dupe.

Note: See TracTickets for help on using tickets.