[wp-meta] [Making WordPress.org] #484: WordPress version should come from parsed wp-includes/version.php version

Making WordPress.org noreply at wordpress.org
Fri May 23 05:48:42 UTC 2014


#484: WordPress version should come from parsed wp-includes/version.php version
---------------------------+-------------------------------------
  Reporter:  keesiemeijer  |      Owner:  coffee2code
      Type:  enhancement   |     Status:  accepted
  Priority:  normal        |  Component:  developer.wordpress.org
Resolution:                |   Keywords:  has-patch needs-testing
---------------------------+-------------------------------------

Comment (by coffee2code):

 In [changeset:"638"]:
 {{{
 #!CommitTicketReference repository="" revision="638"
 Code Reference: Separate get_current_version() into functions to retrieve
 actual version and one to retrieve its term object. See #484.

 * get_current_version() now returns a string of the actual version of
 parsed WP code (or best effort)
 * Prefer 'wp_parser_imported_wp_version' option value as set in newer
 version of parser
 * Add get_current_version_term() to return wp-parser-since term object for
 the major version of parsed WP code
 * Add argument to permit get_current_version_term() to return term object
 for actual version
 }}}

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/484#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list