Opened 15 years ago
Closed 14 years ago
#2420 closed defect (bug) (fixed)
activity unable to display text within bracket
Reported by: | intimez | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | activity, stream, comment, bracket |
Cc: |
Description
Leaving a comment inside a bracket will not show up in the activity stream of buddypress.
wordpress comment shows: this is a test comment for [testing123]
buddypress activity shows: this is a test comment for
[wordpress2.9.2+buddypress1.2.4.1]
Attachments (1)
Change History (8)
#2
@
14 years ago
2420-1.diff changes the way that the excerpt is created. The problem with this solution is that it will allow shortcodes to be processed, which could cause a number of issues (with formatting, with unclosed tags in the case of multi-part shortcodes, etc). Anyone have thoughts?
#3
follow-up:
↓ 4
@
14 years ago
Certainly can't let regular users embed shortcodes into activity stream items.
#4
in reply to:
↑ 3
@
14 years ago
Bug appears to occur with indirect activity entries only -- blog post, blog comment, forum post. Not activity status updates or comments.
Tested on a forum thread on testbp.org.
Replying to DJPaul:
Certainly can't let regular users embed shortcodes into activity stream items.
Going slightly off-topic, but I definitely see benefits to using some shortcodes.
#5
@
14 years ago
Shortcodes in activity stream items are already supported on the permalink pages, but not in the activity stream excerpts (yet? see #2707).
Bumping to 1.3. There's a do_shortcode conflict somewhere, but with all the filters involved I don't want to go messing with them in a point release.