WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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)

comment:1 @ryan6 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.