Move screen_meta() to admin header. Add all meta boxes before requiring admin-header.

git-svn-id: https://develop.svn.wordpress.org/trunk@9620 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-11 22:40:16 +00:00
parent a2f76484d6
commit 7f00d29121
23 changed files with 50 additions and 69 deletions
-2
View File
@@ -158,8 +158,6 @@ case 'edit':
$title = __('Edit Post');
require_once('admin-header.php');
if ( !current_user_can('edit_post', $post_ID) )
die ( __('You are not allowed to edit this post.') );