WordPress.org

Make WordPress Core

Opened 3 years ago

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

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

Download all attachments as: .zip

Change History (2)

scribu3 years ago

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