Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#10760 closed defect (bug) (fixed)

"Change Permalinks" button shows up when page is on front

Reported by: simonwheatley's profile simonwheatley Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

When a page is set as the front page, the "Change Permalinks" link shows up erroneously (normally this should only happen if the permalink scheme is undefined or does not contain %pagename% or %postname%).

The attached patch prevents the link from showing if the page being edited is the front page.

Attachments (1)

no-change-permalinks-if-is-front.diff (1.0 KB) - added by simonwheatley 14 years ago.
Adds a check to see whether the page being edited is the front page before showing the "Change Permalinks" link

Download all attachments as: .zip

Change History (3)

@simonwheatley
14 years ago

Adds a check to see whether the page being edited is the front page before showing the "Change Permalinks" link

#1 @azaozz
14 years ago

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

(In [11908]) Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760

#2 @azaozz
14 years ago

  • Milestone changed from Unassigned to 2.9
Note: See TracTickets for help on using tickets.