Commit 7a840d3
committed
Template activation: fix unique slug filtering.
The logic introduced for the unique slug filter in [61033] is incorrect. We should return the desired slug for the `wp_template` post type. This causes any second created template targeting a certain slug to not work correctly.
Developed in #10397.
See #62755.
Fixes #64141.
Props ntsekouras, priethor.
git-svn-id: https://develop.svn.wordpress.org/trunk@61054 602fd350-edb4-49c9-b593-d223f7449a821 parent aae3ac3 commit 7a840d3
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments