#3956 closed defect (bug) (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)
Change History (4)
#2
@
6 years 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.
In 7896: