Opened 16 years ago
Closed 16 years ago
#4442 closed defect (bug) (fixed)
in_category() is broken
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.3 | Priority: | high |
Severity: | major | Version: | 2.3 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description
the in_category()
function doesn't work correctly in trunk. Likely needs to be re-pointed to use the new term API.
Attachments (2)
Change History (13)
#1
@
16 years ago
- Owner changed from ryan to technosailor
Patch attached since it was my conversation with markjaquith that brought this bug up. Appreciate a second set of eyes.
#4
in reply to:
↑ 3
@
16 years ago
Replying to rob1n:
Ah, but that doesn't use term cache API
I saw Matt's changeset last night after this ticket and patch was submitted.
Which way is better? Mine or his? Mine uses the cache while his does not.
#5
@
16 years ago
Rather, mine uses API and his does not. I presume this is what you were saying but I am operating on 1.5h sleep.
#7
@
16 years ago
I'm using it right now with no problems. Like I mentioned, 'preciate an extra set of eyes to make sure I'm not crazy and the code is solid, but pulling an array value in the way Matt did makes no real sense in the grand scheme of things. The API is so new, though, that I want to make sure I did it right.
Fixes in_category to use terms object cache