wp/wp-includes/customize/class-wp-customize-theme-control.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
--- a/wp/wp-includes/customize/class-wp-customize-theme-control.php	Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/customize/class-wp-customize-theme-control.php	Mon Oct 14 18:28:13 2019 +0200
@@ -82,17 +82,26 @@
 
 			<span class="more-details theme-details" id="{{ data.section }}-{{ data.theme.id }}-action" aria-label="<?php echo esc_attr( $details_label ); ?>"><?php _e( 'Theme Details' ); ?></span>
 
-			<div class="theme-author"><?php
+			<div class="theme-author">
+			<?php
 				/* translators: Theme author name */
 				printf( _x( 'By %s', 'theme author' ), '{{ data.theme.author }}' );
-			?></div>
+			?>
+			</div>
 
 			<# if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #>
 				<div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
 					<p>
 						<?php
-						/* translators: %s: "Update now" button */
-						printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
+						if ( is_multisite() ) {
+							_e( 'New version available.' );
+						} else {
+							printf(
+								/* translators: %s: "Update now" button */
+								__( 'New version available. %s' ),
+								'<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>'
+							);
+						}
 						?>
 					</p>
 				</div>
@@ -128,6 +137,6 @@
 				</div>
 			<# } #>
 		</div>
-	<?php
+		<?php
 	}
 }