#14935 closed defect (bug) (worksforme)
Taxonomy Permalinks Broken (Matt's Community Tags)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Taxonomy permalinks broke in trunk sometime since r15490. Example from Matt's blog:
http://ma.tt/person/stephane-daury/
Test with this plugin:
Change History (14)
Here's $wp->query_vars for the /person/stephane-daury/ request.
array(3) { ["people"]=> string(14) "stephane-daury" ["taxonomy"]=> string(6) "people" ["term"]=> string(14) "stephane-daury" }
The problem is that it's supposed to look for attachments, so these extra args would be necessary:
'post_type' => 'attachment', 'post_status' => 'inherit'
I have no idea why it worked previously.
This is the SQL generated by the 3.0 branch:
SELECT SQL_CALC_FOUND_ROWS wp_posts . * FROM wp_posts WHERE 1=1 AND wp_posts.ID IN ( 42447 ) AND wp_posts.post_type IN ( 'post', 'page', 'attachment' ) AND ( wp_posts.post_status = 'publish' OR wp_posts.post_author =1 AND wp_posts.post_status = 'private' ) ORDER BY wp_posts.post_date DESC LIMIT 0 , 10
and this is in trunk:
SELECT SQL_CALC_FOUND_ROWS wp_posts . * FROM wp_posts WHERE 1 =1 AND wp_posts.ID IN ( 42447 ) AND wp_posts.post_type IN ( 'post', 'page', 'attachment' ) AND ( wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private' ) ORDER BY wp_posts.post_date DESC LIMIT 0 , 10
neither of which work with the Matt's Community Tags plugin out of the box. This leads me to believe that Matt has some additional code running on his site, which doesn't work in trunk, for some reason.
- Summary changed from Taxonomy Permalinks Broken to Taxonomy Permalinks Broken (Matt's Community Tags)
comment:10
markmcwilliams — 3 years ago
It looks good at my end, whatever it was must have been fixed?
comment:11
markjaquith — 2 years ago
- Resolution set to worksforme
- Status changed from accepted to closed
comment:12
nacin — 2 years ago
- Milestone 3.1 deleted
comment:13
scribu — 2 years ago
Probably fixed in #15982
comment:14
markmcwilliams — 2 years ago
- Keywords reporter-feedback removed
We can remove the reporter-feedback keyword from here! :)

For me they stop working at r15613.