diff --git wp-admin/admin-header.php wp-admin/admin-header.php index fae0b8e..2c14a92 100644 --- wp-admin/admin-header.php +++ wp-admin/admin-header.php @@ -33,11 +33,8 @@ $admin_title = apply_filters( 'admin_title', $admin_title, $title ); wp_user_settings(); +_wp_admin_html_begin(); ?> - -> - - <?php echo $admin_title; ?> - -> - - <?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — <?php _e('WordPress'); ?> -> - - + _wp_admin_html_begin(); +?> <?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?> + +> + + +blog_id == $id ) wp_die( __( 'You are not allowed to change the current site.' ) ); - ?> - - > - - <?php _e( 'WordPress › Confirm your action' ); ?> - - - + + _wp_admin_html_begin(); +?> + <?php _e( 'WordPress › Confirm your action' ); ?> +

WordPress

diff --git wp-admin/press-this.php wp-admin/press-this.php index 8329c24..e2cf3ca 100644 --- wp-admin/press-this.php +++ wp-admin/press-this.php @@ -11,7 +11,7 @@ define('IFRAME_REQUEST' , true); /** WordPress Administration Bootstrap */ require_once('./admin.php'); -header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); +header('Content-Type: ' . get_bloginfo('html_type') . '; charset=' . get_option('blog_charset')); if ( ! current_user_can('edit_posts') ) wp_die( __( 'Cheatin’ uh?' ) ); @@ -280,13 +280,9 @@ if ( !empty($_REQUEST['ajax']) ) { die; } +_wp_admin_html_begin(); ?> - -> - - - <?php _e('Press This') ?> - +<?php _e('Press This') ?> db_version(); $php_compat = version_compare( $php_version, $required_php_version, '>=' ); $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); -@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); +header( 'Content-Type: ' . get_bloginfo( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); +_wp_admin_html_begin(); ?> - -> - - <?php _e( 'WordPress › Update' ); ?>