WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/26/2010 06:16:53 PM (11 years ago)
Author:
ryan
Message:

unset temp vars so they don't pollute the global namespace. Formatting cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r12783 r12846  
    5454do_action('admin_head');
    5555
    56 if ( get_user_setting('mfold') == 'f' ) {
     56if ( get_user_setting('mfold') == 'f' )
    5757    $admin_body_class .= ' folded';
    58 }
    5958
    6059if ( $is_iphone ) { ?>
     
    8584        $blog_name_excerpt = trim($blog_name_excerpt) . '…';
    8685    $blog_name = $blog_name_excerpt;
     86    unset($blog_name_excerpt);
    8787}
    8888$title_class = '';
     
    111111<div id="wpbody">
    112112<?php
     113unset($title_class, $blog_name);
     114
    113115require(ABSPATH . 'wp-admin/menu-header.php');
    114116
     
    124126do_action('admin_notices');
    125127
    126 if ( $parent_file == 'options-general.php' ) {
     128if ( $parent_file == 'options-general.php' )
    127129    require(ABSPATH . 'wp-admin/options-head.php');
    128 }
Note: See TracChangeset for help on using the changeset viewer.