[wp-trac] [WordPress Trac] #24317: Custom Taxonomy Overview page gives wrong "Filter Posts by Term" URL parameter
WordPress Trac
noreply at wordpress.org
Sat May 11 15:49:41 UTC 2013
#24317: Custom Taxonomy Overview page gives wrong "Filter Posts by Term" URL
parameter
--------------------------+------------------------------
Reporter: tar.gz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by tar.gz):
Really, the foo=bar part works for you? That surprises me.
Would there be any difference in the way we declare the custom taxonomies?
In some cases I'm using the code from Codex, in others I use the "Custom
Post Type UI" plugin. Everywhere I see the same behavior.
On another site where I use CPT + custom taxonomy, the parameters look
like this:
{{{
edit.php?groupes=diplomes-2005&post_type=personnes
}}}
The post_type part is working, but the filtering by custom taxonomy/term
does not apply. So it simply lists all the "personnes" CPTs.
As previously, if I change the string manually to this:
{{{
edit.php?taxonomy=groupes&term=diplomes-2005&post_type=personnes
}}}
then it works perfectly: filtering by term, taxonomy and post type.
For the sake of testing, if I append &post_type=post to make a query like
this:
{{{
/edit.php?foo=bar&post_type=post
}}}
I obtain exactly the same as with /edit.php : all the Posts are displayed,
no filtering. I assume the post_type=post part is recognized, but this
makes no difference anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24317#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list