Ticket #51976: 51976.3.diff
File 51976.3.diff, 1.2 KB (added by , 4 years ago) |
---|
-
src/wp-admin/includes/update.php
249 249 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( 267 264 '<strong><a href="%s">%s</a></strong>',