Changeset 4010
- Timestamp:
- 07/10/2006 05:21:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions.php
r4008 r4010 2425 2425 2426 2426 $title = __('WordPress Confirmation'); 2427 require_once(ABSPATH . '/wp-admin/admin-header.php');2428 2427 // Remove extra layer of slashes. 2429 2428 $_POST = stripslashes_deep($_POST ); … … 2443 2442 } 2444 2443 $html .= "</body>\n</html>"; 2445 echo $html; 2446 include_once(ABSPATH . '/wp-admin/admin-footer.php'); 2447 } 2448 2444 wp_die($html, $title); 2445 } 2446 2447 function wp_die($message, $title = '') { 2448 header('Content-Type: text/html; charset=utf-8'); 2449 2450 if ( empty($title) ) 2451 $title = __('WordPress › Error'); 2449 2452 ?> 2453 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2454 <html xmlns="http://www.w3.org/1999/xhtml"> 2455 <head> 2456 <title><?php echo $title ?></title> 2457 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 2458 <style media="screen" type="text/css"> 2459 <!-- 2460 html { 2461 background: #eee; 2462 } 2463 body { 2464 background: #fff; 2465 color: #000; 2466 font-family: Georgia, "Times New Roman", Times, serif; 2467 margin-left: 25%; 2468 margin-right: 25%; 2469 padding: .2em 2em; 2470 } 2471 2472 h1 { 2473 color: #006; 2474 font-size: 18px; 2475 font-weight: lighter; 2476 } 2477 2478 h2 { 2479 font-size: 16px; 2480 } 2481 2482 p, li, dt { 2483 line-height: 140%; 2484 padding-bottom: 2px; 2485 } 2486 2487 ul, ol { 2488 padding: 5px 5px 5px 20px; 2489 } 2490 #logo { 2491 margin-bottom: 2em; 2492 } 2493 --> 2494 </style> 2495 </head> 2496 <body> 2497 <h1 id="logo"><img alt="WordPress" src="<?php echo get_settings('siteurl'); ?>/wp-admin/images/wordpress-logo.png" /></h1> 2498 <p><?php echo $message; ?></p> 2499 </body> 2500 </html> 2501 <?php 2502 2503 die(); 2504 } 2505 2506 ?>
Note: See TracChangeset
for help on using the changeset viewer.