Changeset 386
- Timestamp:
- 10/10/2008 06:15:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r375 r386 221 221 222 222 $post = BP_Blogs_Post::fetch_post_content($post); 223 224 $content = bp_core_get_userlink($post->post_author_id) . ' ' . __('wrote a new blog post') . ' <a href="' . bp_post_get_permalink( $post, $post->blog_id ) . '">' . $post->post_title . '</a> <span class="time-since">%s</span>'; 223 224 if ( $post->post_type != 'post' || $post->post_status != 'publish' || $post->post_password != '' ) 225 return false; 226 227 $content = bp_core_get_userlink($post->post_author) . ' ' . __('wrote a new blog post') . ' <a href="' . bp_post_get_permalink( $post, $post->blog_id ) . '">' . $post->post_title . '</a> <span class="time-since">%s</span>'; 225 228 $content .= '<blockquote>' . bp_create_excerpt($post->post_content) . '</blockquote>'; 226 229 return $content;
Note: See TracChangeset
for help on using the changeset viewer.