WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4993 closed defect (bug) (fixed)

get_usermeta should use maybe_unserialize

Reported by: filosofo Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: General Keywords: get_usermeta maybe_unserialize has-patch
Focuses: Cc:

Description

get_usermeta tries to determine on its own whether to unserialize, but instead it should use the maybe_unserialize function.

Attachments (1)

usermeta_unserialize.diff (535 bytes) - added by filosofo 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 @markjaquith7 years ago

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

(In [6124]) Use maybe_unserialize() in get_usermeta(). Props filosofo. fixes #4993

comment:2 @foolswisdom7 years ago

  • Milestone changed from 2.4 to 2.3
Note: See TracTickets for help on using tickets.