Skip to:
Content

BuddyPress.org

Changeset 3566


Ignore:
Timestamp:
12/22/2010 03:37:46 PM (14 years ago)
Author:
boonebgorges
Message:

More WP_DEBUG warnings, dawg

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r3563 r3566  
    420420    function bp_get_activity_user_link() {
    421421        global $activities_template;
    422 
     422       
    423423        if ( empty( $activities_template->activity->user_id ) )
    424424            $link = $activities_template->activity->primary_link;
    425425        else
    426             $link = bp_core_get_user_domain( $activities_template->activity->user_id, $activities_template->activity->user_nicename, $activities_template->activity->user_login );
     426            $link = bp_core_get_user_domain( $activities_template->activity->user_id );
    427427
    428428        return apply_filters( 'bp_get_activity_user_link', $link );
  • trunk/bp-core.php

    r3528 r3566  
    14431443            break;
    14441444    }
     1445
     1446        // If $i iterates all the way to $j, then the event happened 0 seconds ago
     1447        if ( !isset( $chunks[$i] ) )
     1448        return '0 ' . __( 'seconds', 'buddypress' );
    14451449
    14461450    /* Set output var */
Note: See TracChangeset for help on using the changeset viewer.