[wp-meta] [Making WordPress.org] #484: WordPress version should come from parsed wp-includes/version.php version
Making WordPress.org
noreply at wordpress.org
Thu May 22 14:49:03 UTC 2014
#484: WordPress version should come from parsed wp-includes/version.php version
---------------------------+-------------------------------------
Reporter: keesiemeijer | Owner:
Type: enhancement | Status: new
Priority: normal | Component: developer.wordpress.org
Resolution: | Keywords: has-patch needs-testing
---------------------------+-------------------------------------
Comment (by Otto42):
WP_CORE_LATEST_RELEASE is always defined on WordPress.org. It's an
internal constant to the site, used for a number of things, including the
main release system.
Including the versions.php file or using the $wp_version global will give
you the wrong value, because WordPress.org runs on trunk. Therefore
$wp_version is currently "4.0-alpha".
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/484#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list