Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

#589 closed defect (bug) (fixed)

Erroneous conditionals in groups_delete_groupmeta() and bp_blogs_delete_blogmeta()

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: Priority: critical
Severity: Version: 1.0
Component: Keywords: has-patch
Cc:

Description

These functions have an incorrect conditional statement which prevents them from deleting meta rows if you only specify the meta_key. They will also delete all meta data with the specified meta_key if you additionally pass the meta_value.

This should of course be the other way around.

Attachments (1)

589.patch (1.4 KB) - added by johnbillion 16 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion
16 years ago

#1 @johnbillion
16 years ago

  • Keywords has-patch added

Patch

#2 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1217]) FIxes #589 props johnbillion.

Note: See TracTickets for help on using tickets.