mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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.') );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user