Changeset 28611
- Timestamp:
- 05/29/2014 04:32:41 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r28222 r28611 80 80 options: { 81 81 processContent: function( src ) { 82 return src.replace( /^(\$wp_version.+?)-src';/m, '$1\';' ); 82 return src.replace( /^\$wp_version = '(.+?)';/m, function( str, version ) { 83 version = version.replace( /-src$/, '' ); 84 85 // If the version includes an SVN commit (-12345), it's not a released alpha/beta. Append a date. 86 version = version.replace( /-[\d]{5}$/, '-' + grunt.template.today( 'yyyymmdd' ) ); 87 88 return "$wp_version = '" + version + "';"; 89 }); 83 90 } 84 91 }, -
trunk/src/wp-includes/version.php
r28606 r28611 5 5 * @global string $wp_version 6 6 */ 7 $wp_version = '4.0-alpha- src';7 $wp_version = '4.0-alpha-28611-src'; 8 8 9 9 /**
Note: See TracChangeset
for help on using the changeset viewer.