Opened 7 weeks ago
Closed 7 weeks ago
#64141 closed defect (bug) (fixed)
Template activation: fix unique slug filtering
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | 6.9 |
| Component: | Editor | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Create two templates of the same type (e.g. home). Activating the second one won't take any effect on the front-end, and the template will be marked as "Custom" (instead of "Home").
Change History (2)
This ticket was mentioned in PR #10397 on WordPress/wordpress-develop by @ellatrix.
7 weeks ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
The logic introduced for the unique slug filter in #8063 is incorrect. We should return the desired slug for the
wp_templatepost type.Testing instructions:
Create two templates of the same type (e.g. home). Activating the second one won't take any effect on the front-end, and the template will be marked as "Custom" (instead of "Home").
Trac ticket: https://core.trac.wordpress.org/ticket/64141