Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#19786 closed defect (bug) (worksforme)

make sure $step is an integer. some space fixes.

Reported by: caspie's profile Caspie Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:

Description

Make sure the step variable is an integer if isset

Attachments (1)

19786.diff (3.0 KB) - added by Caspie 13 years ago.

Download all attachments as: .zip

Change History (7)

@Caspie
13 years ago

#1 @DrewAPicture
13 years ago

  • Keywords has-patch added

#2 @DrewAPicture
13 years ago

  • Version set to 3.3.1

#3 @linuxologos
13 years ago

  • Version 3.3.1 deleted

That piece of code is much much older! Actually from the beginning. ;)

#4 @SergeyBiryukov
13 years ago

  • Milestone changed from Awaiting Review to 3.4

#5 @nacin
13 years ago

  • Milestone 3.4 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

$step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0; is already in core.

Last edited 13 years ago by nacin (previous) (diff)

#6 @nacin
13 years ago

In [20618]:

Int cast a step variable. see #19786. props Caspie.

Note: See TracTickets for help on using tickets.