[wp-trac] [WordPress Trac] #35420: Inconsistent slug behaviour add/edit terms
WordPress Trac
noreply at wordpress.org
Tue Jan 12 16:51:59 UTC 2016
#35420: Inconsistent slug behaviour add/edit terms
--------------------------+----------------------
Reporter: andizer | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Hi @andizer - Thanks for the ticket.
Term slugs are used to generate URLs, for things like taxonomy archives.
Once these URLs have become public, changing the slugs will break existing
permalinks. You can choose to do this manually (by entering `slug-2`
yourself), but it's not something we'd want to do automatically.
The case of posts is different, because we have infrastructure in place
that supports rerouting of old slugs. See `wp_old_slug_redirect()` and
`wp_check_for_changed_slugs()`. Now that we have termmeta (as of 4.4),
it's conceivable that we could build something similar for terms. But in
the absence of this new system, we can't blindly change existing slugs.
I'm going to close this ticket as maybelater on this basis, but if you or
someone else wants to work on the changed-term-slug system, feel free to
reopen with some ideas :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35420#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list