Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#10584 closed defect (bug) (duplicate)

wp-db::escape doesn't properly handle objects

Reported by: prettyboymp's profile prettyboymp Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.3
Component: Database Keywords:
Focuses: Cc:

Description

The wp_insert_user and wp_update_user functions call get_userdata() which pulls all the usermeta. If any usermeta is stored as a serialized object they are converted to their class, however, the wp-db escape function doesn't properly convert them back to serialized objects before trying to escape them, throwing fatal errors.

Attachments (1)

wp-db.patch (394 bytes) - added by prettyboymp 17 years ago.

Download all attachments as: .zip

Change History (3)

@prettyboymp
17 years ago

#1 @prettyboymp
17 years ago

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

sorry, late night, should have searched first. Duplicate of #9640

#2 @Denis-de-Bernardy
16 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.