Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1490 closed defect (bug) (fixed)

update_usermeta incorrectly sanitizes the meta key name [patch]

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: General Keywords: usermeta
Focuses: Cc:

Description

There is a preg_match typo in update_usermeta() resulting in (essentially) no sanitization of the meta key name.

Patch attached.

Attachments (1)

update_usermeta.diff (648 bytes) - added by mdawaffe 19 years ago.
patch to fix sanitization of meta key in update_usermeta()

Download all attachments as: .zip

Change History (2)

@mdawaffe
19 years ago

patch to fix sanitization of meta key in update_usermeta()

#1 @matt
19 years ago

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

(In [2731]) Negate that. Fixes #1490. Hat tip: mdawaffe

Note: See TracTickets for help on using tickets.