Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/27/2009 09:18:10 PM (17 years ago)
Author:
apeatling
Message:

Fixes #723

File:
1 edited

Legend:

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

    r1691 r1718  
    2929                       
    3030                } else {
    31                         $this->table_name = $bp->{$component_slug}->table_name_wire;
     31                        $this->table_name = $bp->{$bp->active_components[$component_slug]}->table_name_wire;
    3232                }
    3333               
     
    8383                        return true;
    8484                } elseif ( $this->current_wire_post + 1 == $this->wire_post_count ) {
    85                         do_action('loop_end');
     85                        do_action('bp_wire_loop_end');
    8686                        // Do some cleaning up after the loop
    8787                        $this->rewind_wire_posts();
     
    9999
    100100                if ( 0 == $this->current_wire_post ) // loop has just started
    101                         do_action('loop_start');
     101                        do_action('bp_wire_loop_start');
    102102        }
    103103}
     
    316316                        return apply_filters( 'bp_get_wire_get_action', $bp->displayed_user->domain . $bp->wire->slug . '/post/' );
    317317                } else {
    318                         return apply_filters( 'bp_get_wire_get_action', site_url() . '/' . $bp->{$bp->current_component}->slug . '/' . $uri . '/' . $bp->wire->slug . '/post/' );
     318                        return apply_filters( 'bp_get_wire_get_action', site_url() . '/' . $bp->{$bp->active_components[$bp->current_component]}->slug . '/' . $uri . '/' . $bp->wire->slug . '/post/' );
    319319                }
    320320        }
Note: See TracChangeset for help on using the changeset viewer.