Make WordPress Core

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#19786 closed defect (bug) (worksforme)

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

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


Make sure the step variable is an integer if isset

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

@Caspie4 years ago

comment:1 @DrewAPicture4 years ago

  • Keywords has-patch added

comment:2 @DrewAPicture4 years ago

  • Version set to 3.3.1

comment:3 @linuxologos4 years ago

  • Version 3.3.1 deleted

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

comment:4 @SergeyBiryukov4 years ago

  • Milestone changed from Awaiting Review to 3.4

comment:5 @nacin3 years ago

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

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

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

comment:6 @nacin3 years ago

In [20618]:

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

Note: See TracTickets for help on using tickets.