The taxonomy breadcrumb uses normal l($current->name, taxonomy_term_path($current)) links versus using the taxonomy_term_path to generate the links to the taxonomy terms. Same goes to the taxonomy feeds domain. The should, at least in my opinion use the taxonomy_term_path.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 190850-term-path-d6.patch | 1.8 KB | andypost |
| #7 | 190850-term-path-admin-d6.patch | 2.64 KB | andypost |
| #3 | taxonomy_breadcrumb[1].patch | 1.66 KB | robin monks |
| #1 | taxonomy.module.patch | 593 bytes | Poetro |
| #1 | taxonomy.pages.inc.patch | 609 bytes | Poetro |
Comments
Comment #1
Poetro commentedWrong order for patch, attached correct one.
Comment #2
birdmanx35 commentedThis is a feature request, and feature requests go to 7.x-dev.
Comment #3
robin monks commentedRerolled, with no change in functionality. Also did some testing and it all looked good. Moving to task, and marking as reviewed.
Robin
Comment #4
webchickHuh. I had no idea there was a hook_term_path(). :)
Looks like a good clean-up. Taxonomy tests continue to pass. Committed. Marking back to 6.x for consideration.
Comment #5
webchickSigh. :P
Comment #6
gábor hojtsyI consider this a bug fix, since taxonomy paths are supposed to be overridable by modules. This is what forum module does. So we should use the overridable function instead of hardcoding paths. However, the patch does not apply to Drupal 6:
Waiting for reroll.
Comment #7
andypostSuppose the admin screen should display altered links too.
D7 uses hook_url_alter_outbound() so this patch only for D6