Skip to:
Content

BuddyPress.org

Changeset 2290 for trunk/bp-xprofile.php


Ignore:
Timestamp:
01/11/2010 11:53:11 AM (16 years ago)
Author:
apeatling
Message:

Keeping mention screen notifications theme based.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r2287 r2290  
    719719    global $bp;
    720720
    721     if ( 'new_at_mention' == $action ) {
    722         $user_fullname = bp_core_get_user_displayname( $secondary_item_id );
    723 
    724         if ( (int)$total_items > 1 ) {
    725             return apply_filters( 'bp_xprofile_multiple_at_mentions_notification', '<a href="' . bp_core_get_user_domain( $secondary_item_id ) . 'activity/" title="' . __( 'View User', 'buddypress' ) . '">' . sprintf( __( '%s mentioned you in %d updates', 'buddypress' ), $user_fullname, (int)$total_items ) . '</a>', $total_items );
    726         } else {
    727             return apply_filters( 'bp_xprofile_single_at_mention_notification', '<a href="' . bp_activity_get_permalink( $item_id ) . '" title="' . __( 'View Thread', 'buddypress' ) . '">' . sprintf( __( '%s mentioned you in an update', 'buddypress' ), $user_fullname ) . '</a>', $user_fullname );
    728         }
    729     }
    730 
    731721    if ( 'new_wire_post' == $action ) {
    732722        if ( (int)$total_items > 1 ) {
Note: See TracChangeset for help on using the changeset viewer.