Changeset 5411
- Timestamp:
- 05/07/2007 11:24:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5401 r5411 1349 1349 } 1350 1350 1351 header('Content-Type: text/html; charset=utf-8');1352 1353 if ( empty($title) )1354 $title = __('WordPress › Error');1355 1356 1351 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 1357 1352 $admin_dir = ''; 1358 1353 else 1359 1354 $admin_dir = 'wp-admin/'; 1355 1356 if ( !did_action('admin_head') ) : 1357 header('Content-Type: text/html; charset=utf-8'); 1358 1359 if ( empty($title) ) 1360 $title = __('WordPress › Error'); 1361 1362 1360 1363 1361 1364 ?> … … 1372 1375 </head> 1373 1376 <body> 1377 <?php endif; ?> 1374 1378 <h1 id="logo"><img alt="WordPress" src="<?php echo $admin_dir; ?>images/wordpress-logo.png" /></h1> 1375 1379 <?php echo $message; ?>
Note: See TracChangeset
for help on using the changeset viewer.