Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/23/2008 07:19:11 PM (17 years ago)
Author:
apeatling
Message:
  • Fixed broken group wire posting
  • Fixed AJAX functionality across BuddyPress to work with the new member URLs
File:
1 edited

Legend:

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

    r391 r431  
    213213   
    214214    if ( $bp['current_component'] == 'wire' || $bp['current_component'] == 'profile' ) {
    215         echo $bp['current_domain'] . $bp['wire']['slug'] . '/post/';
     215        echo site_url() . '/' . $bp['wire']['slug'] . '/post/';
    216216    } else {
    217         echo $bp['current_domain'] . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/post/';
     217        echo site_url() . '/' . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/post/';
    218218    }
    219219}
Note: See TracChangeset for help on using the changeset viewer.