Make WordPress Core

Ticket #51976: 51976.diff

File 51976.diff, 1.0 KB (added by afragen, 4 years ago)
  • wp-admin/includes/update.php

    diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php
    index e01fd28eb3..b78fa2d911 100644
    a b function core_update_footer( $msg = '' ) { 
    255255
    256256        switch ( $cur->response ) {
    257257                case 'development':
    258                         return sprintf(
     258                        if ( $is_development_version ) {
     259                                /* translators: 1: WordPress version number, 2: URL to WordPress Updates screen. */
     260                                $message = __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' );
     261                        } else {
    259262                                /* 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>.' ),
     263                                $message = __( 'Your next update will be to a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' );
     264                        }
     265                        return sprintf(
     266                                $message,
    261267                                get_bloginfo( 'version', 'display' ),
    262268                                network_admin_url( 'update-core.php' )
    263269                        );