Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/25/2014 05:48:48 PM (11 years ago)
Author:
boonebgorges
Message:

Don't reproduce the activity-form-loop on an AJAX request

Fixes #5329

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/activity/activity-loop.php

    r6284 r8155  
    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>
     53        <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     54
     55    </form>
     56
     57<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.