mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-27 16:54:30 +00:00
unset temp vars so they don't pollute the global namespace. Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12846 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,9 +53,8 @@ do_action('admin_print_scripts');
|
||||
do_action("admin_head-$hook_suffix");
|
||||
do_action('admin_head');
|
||||
|
||||
if ( get_user_setting('mfold') == 'f' ) {
|
||||
if ( get_user_setting('mfold') == 'f' )
|
||||
$admin_body_class .= ' folded';
|
||||
}
|
||||
|
||||
if ( $is_iphone ) { ?>
|
||||
<style type="text/css">.row-actions{visibility:visible;}</style>
|
||||
@@ -84,6 +83,7 @@ if ( '' == $blog_name ) {
|
||||
if ( $blog_name != $blog_name_excerpt )
|
||||
$blog_name_excerpt = trim($blog_name_excerpt) . '…';
|
||||
$blog_name = $blog_name_excerpt;
|
||||
unset($blog_name_excerpt);
|
||||
}
|
||||
$title_class = '';
|
||||
if ( function_exists('mb_strlen') ) {
|
||||
@@ -110,6 +110,8 @@ if ( function_exists('mb_strlen') ) {
|
||||
|
||||
<div id="wpbody">
|
||||
<?php
|
||||
unset($title_class, $blog_name);
|
||||
|
||||
require(ABSPATH . 'wp-admin/menu-header.php');
|
||||
|
||||
$current_screen->parent_file = $parent_file;
|
||||
@@ -123,6 +125,5 @@ screen_meta($current_screen);
|
||||
|
||||
do_action('admin_notices');
|
||||
|
||||
if ( $parent_file == 'options-general.php' ) {
|
||||
if ( $parent_file == 'options-general.php' )
|
||||
require(ABSPATH . 'wp-admin/options-head.php');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user