Ticket #47580: 47580.2.diff
| File 47580.2.diff, 1.7 KB (added by , 7 years ago) |
|---|
-
src/index.php
30 30 wp_load_translations_early(); 31 31 32 32 // Die with an error message 33 $die = __( 'You are running WordPress without JavaScript and CSS files. These need to be built.' ) . '</p>'; 33 $die = sprintf( 34 '<p>%s</p>', 35 __( 'You are running WordPress without JavaScript and CSS files. These need to be built.' ) 36 ); 34 37 35 38 $die .= '<p>' . sprintf( 36 39 /* translators: %s: npm install */ -
src/wp-admin/css/common.css
460 460 white-space: nowrap; 461 461 } 462 462 463 .wp-die-message { 464 font-size: 13px; 465 line-height: 1.5; 466 margin: 1em 0; 467 } 468 463 469 /* .widefat - main style for tables */ 464 470 .widefat { 465 471 border-spacing: 0; -
src/wp-includes/functions.php
3149 3149 wp_list_pluck( $parsed_args['additional_errors'], 'message' ) 3150 3150 ); 3151 3151 $message = "<ul>\n\t\t<li>" . join( "</li>\n\t\t<li>", $message ) . "</li>\n\t</ul>"; 3152 } else {3153 $message = "<p>$message</p>";3154 3152 } 3153 3154 $message = sprintf( 3155 '<div class="wp-die-message">%s</div>', 3156 $message 3157 ); 3155 3158 } 3156 3159 3157 3160 $have_gettext = function_exists( '__' ); … … 3221 3224 #error-page { 3222 3225 margin-top: 50px; 3223 3226 } 3224 #error-page p { 3227 #error-page p, 3228 #error-page .wp-die-message { 3225 3229 font-size: 14px; 3226 3230 line-height: 1.5; 3227 3231 margin: 25px 0 20px;