Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#3940 closed defect (bug) (fixed)

BP_XProfile_ProfileData#save() does not check properly for DB errors

Reported by: andrew8's profile andre.w8 Owned by:
Milestone: 1.6 Priority: normal
Severity: trivial Version: 1.5.3
Component: Extended Profile Keywords: has-patch needs-testing
Cc:

Description

BP_XProfile_ProfileData#save() does not check properly for return value of

$wpdb->query(…);

when saving profile data.

see: http://codex.wordpress.org/Class_Reference/wpdb#Run_Any_Query_on_the_Database

Attachments (1)

buddypress-xprofile-save-test-for-errors-properly.diff (558 bytes) - added by andre.w8 12 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
12 years ago

  • Keywords needs-testing added
  • Milestone changed from Awaiting Review to 1.6

#2 @djpaul
12 years ago

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

(In [5643]) Correctly check for return type from $wpdb->query. Fixes #3940, props andre.w8

Note: See TracTickets for help on using tickets.