WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10074 closed defect (bug) (fixed)

Wrong permission check on Edit Pages screen

Reported by: johnbillion Owned by: Denis-de-Bernardy
Milestone: 2.8 Priority: low
Severity: normal Version: 2.8
Component: Role/Capability Keywords: has-patch
Focuses: Cc:

Description

A permission check for edit_post' is used on the Edit Pages screen when edit_page` should be used instead. This in itself does not cause a problem, however a plugin which adds advanced filtering to the capabilities system could do with this being corrected.

Minor quick fix.

Attachments (1)

10074.patch (1.3 KB) - added by johnbillion 5 years ago.

Download all attachments as: .zip

Change History (3)

johnbillion5 years ago

comment:1 johnbillion5 years ago

  • Keywords has-patch added

Patch

comment:2 azaozz5 years ago

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

(In [11535]) Fix permission check on Edit Pages screen, props johnbillion, fixes #10074

Note: See TracTickets for help on using tickets.