Changeset 5410
- Timestamp:
- 05/07/2007 11:24:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/functions.php
r5400 r5410 1333 1333 } 1334 1334 1335 header('Content-Type: text/html; charset=utf-8');1336 1337 if ( empty($title) )1338 $title = __('WordPress › Error');1339 1340 1335 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 1341 1336 $admin_dir = ''; 1342 1337 else 1343 1338 $admin_dir = 'wp-admin/'; 1339 1340 if ( !did_action('admin_head') ) : 1341 header('Content-Type: text/html; charset=utf-8'); 1342 1343 if ( empty($title) ) 1344 $title = __('WordPress › Error'); 1345 1346 1344 1347 1345 1348 ?> … … 1356 1359 </head> 1357 1360 <body> 1361 <?php endif; ?> 1358 1362 <h1 id="logo"><img alt="WordPress" src="<?php echo $admin_dir; ?>images/wordpress-logo.png" /></h1> 1359 1363 <?php echo $message; ?>
Note: See TracChangeset
for help on using the changeset viewer.