X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/959f97d8ecd5c1668103a3e41c795486b944bc68..449d082fcc4873c1f7d363a0d9f7409be7f6e77d:/wp-admin/post-new.php diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index 263783a3..229f3d06 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -1,18 +1,26 @@ +if ( ! current_user_can('edit_posts') ) { + require_once ('./admin-header.php'); ?>

edit_posts capability to your user, in order to be authorized to post.
You can also e-mail the admin to ask for a promotion.
@@ -24,15 +32,6 @@ When you’re promoted, just reload this page and you’ll be able to bl exit(); } -if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?> -

|

- - - -