Make WordPress Core

Ticket #46997: 46997.2.diff

File 46997.2.diff, 1.0 KB (added by mukesh27, 6 years ago)

Updated patch.

  • wp-includes/customize/class-wp-customize-theme-control.php

    diff --git a/wp-includes/customize/class-wp-customize-theme-control.php b/wp-includes/customize/class-wp-customize-theme-control.php
    index 5aca6639b5..9399a71ea1 100644
    a b class WP_Customize_Theme_Control extends WP_Customize_Control { 
    9393                                <div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
    9494                                        <p>
    9595                                                <?php
    96                                                 /* translators: %s: "Update now" button */
    97                                                 printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
     96                                                if( is_multisite() ) {
     97                                                        _e( 'New version available.' );
     98                                                } else {
     99                                                        /* translators: %s: "Update now" button */
     100                                                        printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
     101                                                }
    98102                                                ?>
    99103                                        </p>
    100104                                </div>