Fix position of admin notices, includes patch by caesarsgrunt, fixes #7619

git-svn-id: http://svn.automattic.com/wordpress/trunk@8769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2008-08-29 06:36:31 +00:00
parent 803b1572e6
commit 3c1095b79c
2 changed files with 5 additions and 15 deletions

View File

@@ -133,10 +133,13 @@ if ( ! $is_opera ) {
<?php
require(ABSPATH . 'wp-admin/menu-header.php');
?>
<div id="wpbody">
<div id="wpbody-content">
<?php
do_action('admin_notices');
if ( $parent_file == 'options-general.php' ) {
require(ABSPATH . 'wp-admin/options-head.php');
}
?>
<div id="wpbody">
<div id="wpbody-content">