Changes between Initial Version and Version 2 of Ticket #38539
- Timestamp:
- 10/28/2016 04:15:35 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38539
- Property Keywords has-patch needs-unit-tests added
- Property Owner set to westonruter
-
Property
Status
changed from
new
toaccepted
-
Property
Summary
changed from
Auto-draft posts/pages inserted from starter content lack slugs
toPost/page stubs fail to get unique slugs
-
Ticket #38539 – Description
initial v2 1 1 I noticed that after initializing Twenty Seventeen all of the Top nav menu items all linked to the homepage. It turns out that the `auto-draft` status post/page stubs were not getting a `post_name` specified and so the permalink for them would point to the homepage. 2 3 Likewise, when adding new nav menu items, I'm able to supply titles which then result in pages/posts that have the same `post_name` as other items. This is due to `wp_publish_posts()` being used which bypasses the unique slug check.