Opened 15 years ago
Closed 15 years ago
#13812 closed defect (bug) (fixed)
avoid displaying custom comment types as pingbacks/trackbacks in twentyten
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Themes | Keywords: | twentyten has-patch |
Focuses: | Cc: |
Description
twentyten renders normal comments (comment_type == "") one way, and everything else as pingbacks.
this example patch avoids rendering custom comment types as pingbacks (or, in effect, at all).
obviously dealing with custom comment types will require more attention in the future, but this gets them out of twentyten's hair for the time being.
Attachments (1)
Change History (10)
#4
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
My apologies, I should've put a comment here when nacin and I talked about this last night...
Rather than apply the quick-and-dirty patch I wrote, it would probably be better to use a switch statement (which neatly avoids the in_array call as a bonus). Should I write up a patch, or will you or nacin make the change?
(Reopening only to keep this on the agenda. Apologies if that's not the right thing to do.)
avoid rendering custom comments as pingbacks (diff against trunk)