Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11841 closed enhancement (fixed)

Validate $object_id in *_metadata() functions

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

Description

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 17 years ago.

Download all attachments as: .zip

Change History (2)

#1 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.