Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10072 closed defect (bug) (fixed)

Change Permalinks button showing when user doesn't have permission

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

Description

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

Download all attachments as: .zip

Change History (5)

@johnbillion
17 years ago

#1 @johnbillion
17 years ago

  • Keywords has-patch added

Patch

#2 @johnbillion
17 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% .

#3 @Denis-de-Bernardy
17 years ago

  • Keywords commit added
  • Milestone changed from Unassigned to 2.8

#4 @azaozz
17 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.