Do you mean literally some_strange_number
?
The version of WP install is captured in global $wp_version
variable, defined in wp-includes/version.php
. Unfortunately since it’s not a constant it can be modified in runtime.
Check the file for being modified/corrupted, if it’s fine then some other code interferes with it.