Getting version number of latest WordPress release
I want to find out the latest version of WordPress that is officially released. If possible, I’d like to get that version language specific for at least English and German.
I could try and parse the website https://wordpress.org/download/ but it doesn’t have the version number in a specific place. I also know I could download the latest package (https://wordpress.org/latest.zip), but I don’t need the whole package, just the version number.
Is there a reliable, stable way to just get the latest stable version number of WordPress?
This question is not about getting the version number of my WordPress installation. Actually I want to compare my installed version against the latest version by a script.