Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Wire is still broken in groups after wire_patch_too.patch


Burt Adsit
Participant

@burtadsit

I installed 1.0 from the download link.

Changed the slugs: BP_GROUPS_SLUG, BP_MEMBERS_SLUG, BP_FRIENDS_SLUG, BP_WIRE_SLUG

Applied wire_patch_three.patch

Works for me. I logged in to your site and noticed that this line wasn’t changed which is the problem:

Line 368, in bp-wire/bp-wire-templatetags.php

return apply_filters( 'bp_get_wire_delete_link',
'<a href="' . wp_nonce_url( site_url( $bp->groups->slug . '/' . $uri . '/' .
$bp->wire->slug . '/delete/' . $wire_posts_template->wire_post->id ),
'bp_wire_delete_link' ) . '">[' . __('Delete', 'buddypress') . ']</a>' );

Your install still says ‘wire’ in the delete url instead of ‘pinnwand’. Looks like the patch wasn’t fully installed? This is on: http://sven-lehnert.de/

Change line 368 to be $bp->wire->slug instead of $bp->{$bp->current_component}->slug and it’ll work. See the difference in the two lines here: https://trac.buddypress.org/attachment/ticket/723/wire_patch_three.patch

Skip to toolbar