Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 13 years ago

#2069 closed defect (bug) (no action required)

Post without title in activity stream

Reported by: motomac's profile 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)

untitled_post.png (13.9 KB) - added by motomac 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @motomac
14 years ago

  • Milestone set to 1.2.2

#2 @junsuijin
14 years ago

I think the standard method of handling this situation is to use the post id (e.g. "Post XX" ).

#3 @boonebgorges
13 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.

Note: See TracTickets for help on using tickets.