Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3940 closed defect (bug) (fixed)

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

Reported by: andre.w8 Owned by:
Priority: normal Milestone: 1.6
Component: Extended Profile Version: 1.5.3
Severity: trivial 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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
15 years ago

  • Keywords needs-testing added
  • Milestone Awaiting Review1.6

#2 @djpaul
15 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.