Make WordPress Core

Ticket #46997: 46997.4.diff

File 46997.4.diff, 1.0 KB (added by earnjam, 6 years ago)

Small CS fix for 46997.3.diff

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

    diff --git src/wp-includes/customize/class-wp-customize-theme-control.php src/wp-includes/customize/class-wp-customize-theme-control.php
    index c66ba28612..574be00752 100644
    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                                                        printf(
     100                                                                /* translators: %s: "Update now" button */
     101                                                                __( 'New version available. %s' ),
     102                                                                '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>'
     103                                                        );
     104                                                }
    98105                                                ?>
    99106                                        </p>
    100107                                </div>