Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/31/2011 01:12:04 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Audit _is_ functions and _current_component_ functions. Props r-a-y. Fixes #3399.

File:
1 edited

Legend:

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

    r4955 r5072  
    723723    extract( $r, EXTR_SKIP );
    724724
    725     if ( !$thread_id && bp_is_current_component( 'messages' ) && bp_is_current_action( 'view' ) )
     725    if ( !$thread_id && bp_is_messages_component() && bp_is_current_action( 'view' ) )
    726726        $thread_id = (int)bp_action_variable( 0 );
    727727
Note: See TracChangeset for help on using the changeset viewer.