Skip to:
Content

BuddyPress.org

Changeset 1378


Ignore:
Timestamp:
04/22/2009 10:40:15 AM (16 years ago)
Author:
apeatling
Message:

Updating ajax wire loop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire/bp-wire-ajax.php

    r1366 r1378  
    33function bp_wire_ajax_get_wire_posts() {
    44    global $bp;
     5   
     6    // TODO: Move this to a template file so it can be modified.
    57    ?>
    68
    7     <?php if ( bp_has_wire_posts( $_POST['bp_wire_item_id'], 1 ) ) : ?>
     9    <?php if ( bp_has_wire_posts( 'item_id=' . $_POST['bp_wire_item_id'] . '&can_post=1' ) ) : ?>
    810        <div id="wire-count" class="pag-count">
    911            <?php bp_wire_pagination_count() ?> &nbsp;
Note: See TracChangeset for help on using the changeset viewer.