Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#11787 closed defect (bug) (fixed)

search by blog id under ms-sites.php uses the wrong parameter

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:


it's using intval of the search string instead of the blog id.

Attachments (1)

11787.diff (621 bytes) - added by Denis-de-Bernardy 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @Denis-de-Bernardy
12 years ago

the case for non-numerical data is not covered in the above patch, and can lead to a division by zero further down if used because of ceil($total / $num).

#2 @Denis-de-Bernardy
12 years ago

  • Keywords commit added

that second remark was for #11786.

this one can go straight in.

#3 @ryan
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.