Make WordPress Core

Opened 6 years ago

Closed 6 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 6 years ago.

Download all attachments as: .zip

Change History (2)

@scribu6 years ago

comment:1 @nacin6 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.