Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 10:58:18 PM (14 years ago)
Author:
boonebgorges
Message:

Cleans up use of BP_x_SLUG, replacing with wrapper functions where possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-template.php

    r4622 r4638  
    718718    extract( $r, EXTR_SKIP );
    719719
    720     if ( !$thread_id && $bp->current_component == BP_MESSAGES_SLUG && 'view' == $bp->current_action )
     720    if ( !$thread_id && bp_is_current_component( 'messages' ) && bp_is_current_action( 'view' ) )
    721721        $thread_id = (int)$bp->action_variables[0];
    722722
Note: See TracChangeset for help on using the changeset viewer.