Opened 15 years ago
Closed 14 years ago
#2069 closed defect (bug) (no action required)
Post without title in activity stream
Reported by: | motomac | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | Version: | ||
Component: | Core | Keywords: | |
Cc: |
Description
If post is untitled, there is blank in activity stream.
I think, it will be better to make default post title in activity stream like "Untitled post".
Attachments (1)
Change History (4)
#3
@
14 years ago
- Component set to Core
- Resolution set to invalid
- Status changed from new to closed
Both of the proffered solutions - 'Untitled Post' and 'Post ##' - seem inelegant to me. Think about how WP itself handles this issue. When you don't provide a title for a post, the theme will simply show nothing. I'd say this is generally the right behavior; when an author doesn't provide a title, it's usually a conscious choice. Imposing a title in the activity stream seems like it disregards this choice.
If you don't like this default behavior, you can attach a filter to bp_blogs_activity_new_post_action. Check out bp_blogs_record_post() in bp-blogs.php to see what you'd be filtering.
I think the standard method of handling this situation is to use the post id (e.g. "Post XX" ).