Opened 14 years ago
Closed 13 years ago
#2544 closed enhancement (wontfix)
[patch] Activity Stream filtering $hidden_sql
Reported by: | DJPaul | Owned by: | DJPaul |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Activity | Keywords: | has-patch dev-feedback |
Cc: |
Description
Please can this patch get into trunk for 1.3. I have previously talked to JJJ about this. It will let me use the 'hide_sitewide' column in the activity stream database to mark entries as spam, allowing integration into Akismet (which I'm going to provide a patch for).
Attachments (3)
Change History (11)
#1
@
14 years ago
- Summary changed from Activity Stream filtering $hidden_sql to [patch] Activity Stream filtering $hidden_sql
#5
@
14 years ago
- Keywords dev-feedback added
Boone, what are your thoughts on this? The idea was to use this column to allow plugins marking activity entries as spam. For some components which may get custom post type'd, we'd get this "for free", but I think activity streams is likely to not be custom post type'd and therefore has a slightly better justification for this sort of thing. I'm reluctant to add a is_spam column just for this reason, however.
Is using an "IN" like this slower than "(a.hide_sitewide = 0 OR a.hide_sitewide = 1)"? What's best?