Changeset 45909
- Timestamp:
- 08/29/2019 07:52:43 AM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r45649 r45909 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( -
trunk/src/wp-admin/css/common.css
r45692 r45909 459 459 padding: 0; 460 460 white-space: nowrap; 461 } 462 463 .wp-die-message { 464 font-size: 13px; 465 line-height: 1.5; 466 margin: 1em 0; 461 467 } 462 468 -
trunk/src/wp-includes/functions.php
r45908 r45909 3192 3192 ); 3193 3193 $message = "<ul>\n\t\t<li>" . join( "</li>\n\t\t<li>", $message ) . "</li>\n\t</ul>"; 3194 } else { 3195 $message = "<p>$message</p>"; 3196 } 3194 } 3195 3196 $message = sprintf( 3197 '<div class="wp-die-message">%s</div>', 3198 $message 3199 ); 3197 3200 } 3198 3201 … … 3264 3267 margin-top: 50px; 3265 3268 } 3266 #error-page p { 3269 #error-page p, 3270 #error-page .wp-die-message { 3267 3271 font-size: 14px; 3268 3272 line-height: 1.5;
Note: See TracChangeset
for help on using the changeset viewer.