Ticket #47580: 47580.diff
| File 47580.diff, 1.6 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
308 308 content: none; 309 309 } 310 310 311 p { 311 p, 312 .wp-die-message { 312 313 font-size: 13px; 313 314 line-height: 1.5; 314 315 margin: 1em 0; -
src/wp-includes/functions.php
3089 3089 wp_list_pluck( $parsed_args['additional_errors'], 'message' ) 3090 3090 ); 3091 3091 $message = "<ul>\n\t\t<li>" . join( "</li>\n\t\t<li>", $message ) . "</li>\n\t</ul>"; 3092 } else {3093 $message = "<p>$message</p>";3094 3092 } 3093 3094 $message = sprintf( 3095 '<div class="wp-die-message">%s</div>', 3096 $message 3097 ); 3095 3098 } 3096 3099 3097 3100 $have_gettext = function_exists( '__' ); … … 3161 3164 #error-page { 3162 3165 margin-top: 50px; 3163 3166 } 3164 #error-page p { 3167 #error-page p, 3168 #error-page .wp-die-message { 3165 3169 font-size: 14px; 3166 3170 line-height: 1.5; 3167 3171 margin: 25px 0 20px;