Skip to:
Content

BuddyPress.org

Changeset 2088 for trunk/bp-xprofile.php


Ignore:
Timestamp:
11/13/2009 01:01:37 AM (17 years ago)
Author:
apeatling
Message:

Initial support for threaded activity stream commenting. Some major performance improvements around fetching profile and group data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r2077 r2088  
    11<?php
    2 define ( 'BP_XPROFILE_DB_VERSION', '1800' );
     2define ( 'BP_XPROFILE_DB_VERSION', '1850' );
    33
    44/* Define the slug for the component */
     
    110110                           item_id bigint(20) NOT NULL,
    111111                           user_id bigint(20) NOT NULL,
     112                           parent_id bigint(20) NOT NULL,
    112113                           content longtext NOT NULL,
    113114                           date_posted datetime NOT NULL,
    114115                           KEY item_id (item_id),
    115                        KEY user_id (user_id)
     116                       KEY user_id (user_id),
     117                       KEY parent_id (parent_id)
    116118                       ) {$charset_collate};";
    117119
     
    530532                return false;
    531533
    532         if ( !$wire_post = bp_wire_new_post( $bp->displayed_user->id, $_POST['wire-post-textarea'], $bp->profile->slug, false, $bp->profile->table_name_wire ) ) {
     534        if ( !$wire_post = bp_wire_new_post( $bp->displayed_user->id, $_POST['wire-post-textarea'], $bp->profile->id ) ) {
    533535                bp_core_add_message( __( 'Wire message could not be posted. Please try again.', 'buddypress' ), 'error' );
    534536        } else {
Note: See TracChangeset for help on using the changeset viewer.