Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#2325 closed defect (bug) (fixed)

Plugin Directory: “0 downloads” is shown as “NaN downloads”

Reported by: geekysoft's profile geekysoft Owned by: obenland's profile obenland
Milestone: Plugin Directory v3.0 Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

  1. Open the admin page of a new or unpopular plugin with 0 downloads toady

“0 downloads” is shown as “NaN downloads”.

Attachments (1)

download_history.png (10.1 KB) - added by geekysoft 8 years ago.

Download all attachments as: .zip

Change History (6)

#2 @dd32
8 years ago

#2607 was marked as a duplicate.

#3 follow-up: @Ipstenu
8 years ago

  • Milestone set to Plugin Directory v3.0
  • Summary changed from “0 downloads” is shown as “NaN downloads” on admin pages to Plugin Directory: “0 downloads” is shown as “NaN downloads”

Note: This happens when you have you downloads yet for the day :) We should fix it, but that's what's going on here.

#4 in reply to: ↑ 3 @webaware
8 years ago

Replying to Ipstenu:

Note: This happens when you have you downloads yet for the day :) We should fix it, but that's what's going on here.

Yup, NaN = None at Noon. For sure!

#5 @obenland
8 years ago

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

In 5188:

Plugin Directory: Format the number 0 correctly in download history.

Also right-aligns values.

Fixes #2325.

Note: See TracTickets for help on using tickets.