diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-24 11:45:39 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-24 11:45:39 +0000 |
commit | cf9f85dc8121a359d550ffa3b735fb48859eee88 (patch) | |
tree | 9f90be15fc46163f5656f019f2a2866414b7c9f2 /wp-admin/widgets.php | |
parent | f10f9f5b05e23ce4c07479b094bd3ff4bbfd86d0 (diff) | |
download | wordpress-mu-cf9f85dc8121a359d550ffa3b735fb48859eee88.tar.gz wordpress-mu-cf9f85dc8121a359d550ffa3b735fb48859eee88.tar.xz wordpress-mu-cf9f85dc8121a359d550ffa3b735fb48859eee88.zip |
Merged with WP 2.5, revision 7806
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1260 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/widgets.php')
-rw-r--r-- | wp-admin/widgets.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 4a8751d..83264e4 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -18,7 +18,7 @@ if ( isset($_GET['sidebar']) && isset($wp_registered_sidebars[$_GET['sidebar']]) $sidebar = attribute_escape( $_GET['sidebar'] ); } elseif ( is_array($wp_registered_sidebars) && !empty($wp_registered_sidebars) ) { // By default we look at the first defined sidebar - $sidebar = array_shift( array_keys($wp_registered_sidebars) ); + $sidebar = array_shift( $keys = array_keys($wp_registered_sidebars) ); } else { // If no sidebars, die. require_once( 'admin-header.php' ); @@ -317,5 +317,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?> <?php do_action( 'sidebar_admin_page' ); ?> +<br class="clear" /> + <?php require_once( 'admin-footer.php' ); ?> |