Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10072 closed defect (bug) (fixed)

Change Permalinks button showing when user doesn't have permission

Reported by: johnbillion Owned by:
Milestone: 2.8 Priority: low
Severity: minor Version: 2.8
Component: Administration Keywords: has-patch commit
Focuses: Cc:


On the post writing/editing screen, the new "Change Permalinks" button shows up for all users. It should only show up for users with the manage_options capability.

Attachments (1)

10072.patch (948 bytes) - added by johnbillion 5 years ago.

Download all attachments as: .zip

Change History (5)

johnbillion5 years ago

comment:1 johnbillion5 years ago

  • Keywords has-patch added


comment:2 johnbillion5 years ago

I should point out that this button only shows up when a permalink structure is being used that doesn't contain the post name. For example /archives/%post_id% .

comment:3 Denis-de-Bernardy5 years ago

  • Keywords commit added
  • Milestone changed from Unassigned to 2.8

comment:4 azaozz5 years ago

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

(In [11534]) Don't show Change Permalinks button when user doesn't have permission, props johnbillion, fixes #10072

Note: See TracTickets for help on using tickets.