[buddypress-trac] [BuddyPress] #4201: Add missing endif; to members/single/activity.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 12 00:51:22 UTC 2012


#4201: Add missing endif; to members/single/activity.php
--------------------------+-----------------------------
 Reporter:  mercime       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Theme         |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 {{{
 <?php
 if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action()
 || bp_is_current_action( 'just-me' ) ) )
         locate_template( array( 'activity/post-form.php'), true );

         do_action( 'bp_after_member_activity_post_form' );
         do_action( 'bp_before_member_activity_content' ); ?>
 }}}

 add endif;
 {{{
 <?php
 if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action()
 || bp_is_current_action( 'just-me' ) ) )
         locate_template( array( 'activity/post-form.php'), true );
 endif;

         do_action( 'bp_after_member_activity_post_form' );
         do_action( 'bp_before_member_activity_content' ); ?>
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4201>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list