[wp-trac] [WordPress Trac] #31270: Unexpected slugs for same-title different-parents term creation
WordPress Trac
noreply at wordpress.org
Wed Mar 25 23:27:06 UTC 2015
#31270: Unexpected slugs for same-title different-parents term creation
----------------------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by snakefoot):
There is an issue with the query-parser, when having two similar slugs
with different parents. The query-parser doesn't include the parent
hierarchy when generating the SQL, and just picks a "random" slug.
I have attached a plugin to #5034, which implements a hack, but it would
be nicer if the query-parser handled it.
Instead of a bug, then it is a feature just like #5034 :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31270#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list