Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #4045, comment 34


Ignore:
Timestamp:
05/08/2012 04:09:41 PM (13 years ago)
Author:
shanebp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4045, comment 34

    v2 v3  
    99I don't see $per_page or $page and wouldn't expect re comments... ? 
    1010
     11In bp-activity-classes ->  function get
     12I see
     13
     14{{{
     15if ( !empty( $per_page ) && !empty( $page ) ) {... }
     16else {
     17$activities = $wpdb->get_results( apply_filters( 'bp_activity_get_user_join_filter',
     18 $wpdb->prepare( "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded
     19{$sort}" ), $select_sql, $from_sql, $where_sql, $sort ) );
     20}
     21}}}
     22
     23So there is no $page_sql in the else.
     24 
     25
    1126We're running ~50 plugins. I'm prepared to go thru them but thought I'd share this thought first.