Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/22/2011 08:58:56 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Clean up single member root template files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/messages.php

    r3771 r3808  
    99<?php
    1010
    11     if ( 'compose' == bp_current_action() ) :
     11    if ( bp_is_current_action( 'compose' ) ) :
    1212        locate_template( array( 'members/single/messages/compose.php' ), true );
    1313
    14     elseif ( 'view' == bp_current_action() ) :
     14    elseif ( bp_is_current_action( 'view' ) ) :
    1515        locate_template( array( 'members/single/messages/single.php' ), true );
    1616
     
    2121
    2222        <?php
    23             if ( 'notices' == bp_current_action() ) :
     23            if ( bp_is_current_action( 'notices' ) )
    2424                locate_template( array( 'members/single/messages/notices-loop.php' ), true );
    25 
    26             else :
     25            else
    2726                locate_template( array( 'members/single/messages/messages-loop.php' ), true );
    28 
    29             endif;
    3027        ?>
    3128
Note: See TracChangeset for help on using the changeset viewer.