Skip to:
Content

BuddyPress.org

Changeset 2416 for trunk/bp-blogs.php


Ignore:
Timestamp:
01/24/2010 01:13:15 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1641

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r2405 r2416  
    253253        'item_id' => false,
    254254        'secondary_item_id' => false,
    255         'recorded_time' => time(),
    256255        'hide_sitewide' => false
    257256    );
     
    279278    ) );
    280279
    281     return bp_activity_add( array( 'id' => $id, 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'recorded_time' => $recorded_time, 'hide_sitewide' => $hide_sitewide ) );
     280    return bp_activity_add( array( 'id' => $id, 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'hide_sitewide' => $hide_sitewide ) );
    282281}
    283282
     
    420419                    'item_id' => $blog_id,
    421420                    'secondary_item_id' => $post_id,
    422                     'recorded_time' => strtotime( $post->post_date_gmt )
     421                    'recorded_time' => $post->post_date_gmt
    423422                ));
    424423            }
     
    455454                'item_id' => $blog_id,
    456455                'secondary_item_id' => $post_id,
    457                 'recorded_time' => strtotime( $post->post_date_gmt )
     456                'recorded_time' => $post->post_date_gmt
    458457            ) );
    459458        }
     
    513512            'item_id' => $wpdb->blogid,
    514513            'secondary_item_id' => $comment_id,
    515             'recorded_time' => strtotime( $comment->comment_date_gmt )
     514            'recorded_time' => $comment->comment_date_gmt
    516515        ) );
    517516    }
Note: See TracChangeset for help on using the changeset viewer.