WordPress.org

Making WordPress.org

Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#3956 closed defect (fixed)

Wrong WordPress version shows in About Statistics page

Reported by: mukesh27 Owned by: dd32
Milestone: Priority: normal
Component: General Keywords: has-screenshots
Cc:

Description

On https://wordpress.org/about/stats/ system shows latest version is WordPress version 5.2 it's wrong as upcoming WordPress version is 5.0

To get WordPress version system used https://api.wordpress.org/stats/wordpress/1.0/ WP api and api give below result.

"3.0":0.239,"3.1":0.185,"3.2":0.185,"3.3":0.358,"3.4":0.397,"3.5":0.735,"3.6":0.338, 
"3.7":0.208,"3.8":0.639,"3.9":0.878,"4.0":0.906,"4.1":1.127,"4.2":1.369,"4.3":1.474,
"4.4":2.644,"4.5":2.51,"4.6":2.897,"4.7":7.703,"4.8":7.523,"4.9":67.654,"5.0":0.021,
"5.1":0.008,"5.2":0.002

As per above result needs to remove WP version 5.1, 5.2 from API and in chart show 5.0 WordPress version instead of 5.2

Attachments (1)

Statistics.png (135.4 KB) - added by mukesh27 12 months ago.

Download all attachments as: .zip

Change History (4)

@mukesh27
12 months ago

#1 @dd32
12 months ago

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

In 7896:

Main: Don't display WordPress 5.2 in the stats graphs.

Fixes #3956.

#2 @dd32
12 months ago

5.0 and 5.1 are removed from the data before it's displayed, 5.2 only shows up presently because that's what the sites running 5.1(trunk) with the beta tester plugin are sending their versions as. This situation can therefor only occur when the development branch is not trunk.

Either way, [7896] fixes that by comparing the version to the latest stable branch instead.

#3 @dd32
12 months ago

In 7897:

Main: Cache bump after [7896].

See #3956.

Note: See TracTickets for help on using tickets.