Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 06:58:45 PM (13 years ago)
Author:
boonebgorges
Message:

Introduces wrapper function bp_is_username_compatibility_mode() and refactors to avoid direct constant checks throughout BP. See #3314

File:
1 edited

Legend:

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

    r4605 r4628  
    2121
    2222    foreach( (array)$usernames as $username ) {
    23         if ( defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) )
     23        if ( bp_is_username_compatibility_mode() )
    2424            $receiver_user_id = bp_core_get_userid( $username );
    2525        else
Note: See TracChangeset for help on using the changeset viewer.