Make WordPress Core

Opened 6 years ago

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


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 6 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion6 years ago

comment:1 @johnbillion6 years ago

  • Keywords has-patch added


comment:2 @azaozz6 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.