Opened 5 years ago
Closed 5 years ago
#7421 closed defect (bug) (fixed)
get_permalink should pass $leavename variable to filter
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Note: See
TracTickets for help on using
tickets.
(In [8487]) Pass $leavename to filters in get_permalink. Fixes #7421.