WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#7421 closed defect (bug) (fixed)

get_permalink should pass $leavename variable to filter

Reported by: fshowalter Owned by: westi
Priority: high Milestone: 2.7
Component: General Version:
Severity: normal Keywords:
Cc:

Description

get_permalink currently doesn't pass the $leavename variable, used by the admin page to display url preview.

Without this variable filters called in get_permalink have no way of knowing they should return this special format of the permalink, which could render the post-name un-editable, even when it should be.

Change History (2)

comment:1 westi5 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

comment:2 westi5 years ago

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

(In [8487]) Pass $leavename to filters in get_permalink. Fixes #7421.

Note: See TracTickets for help on using tickets.