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 Owned by:
Priority: low Milestone: 2.8
Component: Administration Version: 2.8
Severity: minor Keywords: has-patch commit
Cc: Focuses:

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 Unassigned2.8

#4 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

(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.