Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 08:54:02 PM (14 years ago)
Author:
boonebgorges
Message:

Abstracts user_meta keys so that they can be filtered. Fixes #2952

File:
1 edited

Legend:

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

    r4367 r4372  
    149149    global $bp;
    150150
    151     if ( !$mention = get_user_meta( $bp->displayed_user->id, 'notification_activity_new_mention', true ) )
     151    if ( !$mention = get_user_meta( $bp->displayed_user->id, bp_get_user_meta_key( 'notification_activity_new_mention' ), true ) )
    152152        $mention = 'yes';
    153153
    154     if ( !$reply = get_user_meta( $bp->displayed_user->id, 'notification_activity_new_reply', true ) )
     154    if ( !$reply = get_user_meta( $bp->displayed_user->id, bp_get_user_meta_key( 'notification_activity_new_reply' ), true ) )
    155155        $reply = 'yes'; ?>
    156156
Note: See TracChangeset for help on using the changeset viewer.