WordPress.org

Make WordPress Core

Ticket #15301: 15301.3.diff

File 15301.3.diff, 975 bytes (added by caesarsgrunt, 9 years ago)

add spacing per coding standards, and leave $title as before

  • wp-admin/admin-header.php

     
    1111        require_once( './admin.php' );
    1212
    1313get_admin_page_title();
    14 
    1514$title = esc_html( strip_tags( $title ) );
    1615
     16$page_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, get_bloginfo( 'name' ) );
     17$page_title = apply_filters( 'admin_title', $page_title, $title );
     18
    1719wp_user_settings();
    1820wp_menu_unfold();
    1921
     
    3032<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    3133<head>
    3234<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    33 <title><?php echo $title; ?> &lsaquo; <?php bloginfo('name') ?>  &#8212; WordPress</title>
     35<title><?php echo $page_title; ?></title>
    3436<?php
    3537
    3638wp_admin_css( 'global' );