Opened 14 years ago
Closed 10 years ago
#16223 closed enhancement (fixed)
post_class for public custom taxonomies
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Taxonomy | Keywords: | has-patch needs-testing |
Focuses: | template | Cc: |
Description
post_class() should include styles for custom taxonomies.
Attachments (3)
Change History (14)
#1
@
14 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
#2
@
14 years ago
Going to leave the needs-patch on there. Let's reduce the code a bit.
We also need to check that we're hitting the cache on that.
#3
@
14 years ago
I thought so too, but it would change existing behavior, since tags print tag-name now and this would print post_tag-name. Could throw in an if just for tags, I guess.
#5
@
14 years ago
- Keywords has-patch needs-testing added; needs-patch removed
Patch updated. This replaces the existing bits for categories and tags in a way that's consistent with the old behavior.
Not sure about the cache; this is more or less how it was done before.
#6
@
14 years ago
Finally found a moment to go through all the relevant functions, and it looks like they are hitting the cache whenever possible.
Note: See
TracTickets for help on using
tickets.
Nice enhancement. Can probably clean up the existing taxonomy code there in the process.