Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11786 closed defect (bug) (fixed)

improper parameter defaults in ms-sites.php

Reported by: Denis-de-Bernardy Owned by:
Priority: normal Milestone: 3.0
Component: Multisite Version: 3.0
Severity: normal Keywords: has-patch commit
Cc: Focuses: multisite

Description

list blogs accepts negative paginations and the like

Attachments (3)

11786.diff (624 bytes ) - added by Denis-de-Bernardy 17 years ago.
11786.2.diff (640 bytes ) - added by Denis-de-Bernardy 17 years ago.
better patch
11786.3.diff (668 bytes ) - added by Denis-de-Bernardy 17 years ago.

Download all attachments as: .zip

Change History (7)

@Denis-de-Bernardy
17 years ago

better patch

#1 @Denis-de-Bernardy
17 years ago

  • Keywords commit added

#2 @ryan
17 years ago

Won't intval cause a warning if those aren't set since empty is on the outside?

#3 @Denis-de-Bernardy
17 years ago

a notice, rather. fixed. :-)

#4 @westi
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [12637]) Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.

Note: See TracTickets for help on using tickets.