WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#11786 closed defect (bug) (fixed)

improper parameter defaults in ms-sites.php

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

Description

list blogs accepts negative paginations and the like

Attachments (3)

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

Download all attachments as: .zip

Change History (7)

@Denis-de-Bernardy
10 years ago

better patch

#1 @Denis-de-Bernardy
10 years ago

  • Keywords commit added

#2 @ryan
10 years ago

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

#3 @Denis-de-Bernardy
10 years ago

a notice, rather. fixed. :-)

#4 @westi
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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.