Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#11841 closed enhancement (fixed)

Validate $object_id in *_metadata() functions

Reported by: scribu Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:


The metadata functions should first check if $object_id is a positive integer.

Attachments (1)

meta_object_id.diff (1.2 KB) - added by scribu 12 years ago.

Download all attachments as: .zip

Change History (2)

#1 @nacin
12 years ago

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

(In [13347]) Validate $object_id in *_metadata() functions. Props scribu fixes #11841

Note: See TracTickets for help on using tickets.