Skip to:
Content

BuddyPress.org

Ticket #5329: 5329.diff

File 5329.diff, 1.6 KB (added by imath, 11 years ago)
  • bp-templates/bp-legacy/buddypress/activity/activity-loop.php

     
    4646
    4747<?php do_action( 'bp_after_activity_loop' ); ?>
    4848
    49 <form action="" name="activity-loop-form" id="activity-loop-form" method="post">
     49<?php if ( empty( $_POST['page'] ) ) : ?>
    5050
    51         <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     51        <form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    5252
    53 </form>
    54  No newline at end of file
     53                <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     54
     55        </form>
     56
     57<?php endif; ?>
     58 No newline at end of file
  • bp-themes/bp-default/activity/activity-loop.php

     
    5959
    6060<?php do_action( 'bp_after_activity_loop' ); ?>
    6161
    62 <form action="" name="activity-loop-form" id="activity-loop-form" method="post">
     62<?php if ( empty( $_POST['page'] ) ) : ?>
    6363
    64         <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     64        <form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    6565
    66 </form>
    67  No newline at end of file
     66                <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     67
     68        </form>
     69
     70<?php endif; ?>
     71 No newline at end of file