Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/25/2014 05:48:48 PM (10 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-themes/bp-default/activity/activity-loop.php

    r4804 r8155  
    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>
     66        <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
     67
     68    </form>
     69
     70<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.