Changeset 4009
- Timestamp:
- 07/10/2006 04:34:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r4006 r4009 1095 1095 1096 1096 $title = __('WordPress Confirmation'); 1097 require_once(ABSPATH . '/wp-admin/admin-header.php');1098 1097 // Remove extra layer of slashes. 1099 1098 $_POST = stripslashes_deep($_POST ); … … 1113 1112 } 1114 1113 $html .= "</body>\n</html>"; 1115 echo $html; 1116 include_once(ABSPATH . '/wp-admin/admin-footer.php'); 1117 } 1118 1119 function wp_die($message) { 1114 wp_die($html, $title); 1115 } 1116 1117 function wp_die($message, $title = '') { 1120 1118 header('Content-Type: text/html; charset=utf-8'); 1121 1119 1120 if ( empty($title) ) 1121 $title = __('WordPress › Error'); 1122 1122 ?> 1123 1123 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1124 1124 <html xmlns="http://www.w3.org/1999/xhtml"> 1125 1125 <head> 1126 <title> WordPress › <?php _e('Error');?></title>1126 <title><?php echo $title ?></title> 1127 1127 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1128 1128 <style media="screen" type="text/css">
Note: See TracChangeset
for help on using the changeset viewer.