Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#19786 closed defect (bug) (worksforme)

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

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

Description

Make sure the step variable is an integer if isset

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

@Caspie
15 years ago

#1 @DrewAPicture
15 years ago

  • Keywords has-patch added

#2 @DrewAPicture
15 years ago

  • Version3.3.1

#3 @linuxologos
15 years ago

  • Version 3.3.1

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

#4 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review3.4

#5 @nacin
14 years ago

  • Milestone 3.4
  • Resolutionworksforme
  • Status newclosed

$step = isset( $_GETstep ) ? (int) $_GETstep : 0; is already in core.

Version 0, edited 14 years ago by nacin (next)

#6 @nacin
14 years ago

In [20618]:

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

Note: See TracTickets for help on using tickets.