Opened 17 years ago
Closed 16 years ago
#2069 closed defect (bug) (no action required)
Post without title in activity stream
| Reported by: | motomac | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Core | Version: | |
| Severity: | 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
@
16 years ago
- Component → Core
- Resolution → invalid
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think the standard method of handling this situation is to use the post id (e.g. "Post XX" ).