WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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:

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

Download all attachments as: .zip

Change History (2)

scribu4 years ago

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