Opened 9 months ago
Closed 9 months ago
#64141 closed defect (bug) (fixed)
Template activation: fix unique slug filtering
| Reported by: | ellatrix | Owned by: | ellatrix |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9 |
| Component: | Editor | Version: | 6.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
9 months ago
#1
- Keywords has-patch added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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