Changeset 50121
- Timestamp:
- 02/01/2021 02:27:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r49736 r50121 250 250 $is_development_version = preg_match( '/alpha|beta|RC/', $wp_version ); 251 251 252 if ( $is_development_version && 'latest' === $cur->response ) { 253 $cur->response = 'development'; 252 if ( $is_development_version ) { 253 return sprintf( 254 /* translators: 1: WordPress version number, 2: URL to WordPress Updates screen. */ 255 __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), 256 get_bloginfo( 'version', 'display' ), 257 network_admin_url( 'update-core.php' ) 258 ); 254 259 } 255 260 256 261 switch ( $cur->response ) { 257 case 'development':258 return sprintf(259 /* translators: 1: WordPress version number, 2: URL to WordPress Updates screen. */260 __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ),261 get_bloginfo( 'version', 'display' ),262 network_admin_url( 'update-core.php' )263 );264 265 262 case 'upgrade': 266 263 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.