# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \\UBU\www\sandbox\public_html\wp-content\plugins\buddypress
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 818 | 818 | $wire_action = $bp->action_variables[0]; |
| 819 | 819 | |
| 820 | 820 | if ( $bp->is_single_item ) { |
| 821 | | if ( 'post' == $wire_action && groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) { |
| | 821 | if ( 'post' == $wire_action && ( ( is_site_admin() ) || ( groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) ) ) { |
| 822 | 822 | /* Check the nonce first. */ |
| 823 | 823 | if ( !check_admin_referer( 'bp_wire_post' ) ) |
| 824 | 824 | return false; |
| … |
… |
|
| 833 | 833 | else |
| 834 | 834 | bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) . '/' . $bp->wire->slug ); |
| 835 | 835 | |
| 836 | | } else if ( 'delete' == $wire_action && groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) { |
| 837 | | No newline at end of file |
| | 836 | } else if ( 'delete' == $wire_action && ( ( is_site_admin() ) || ( groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) ) ) { |
| | 837 | No newline at end of file |
| 838 | 838 | $wire_message_id = $bp->action_variables[1]; |
| 839 | 839 | |