X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..312084b5d95c21feb519ff03decf948420e1f6fa:/wp-admin/post-new.php diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index f1f2da5b..229f3d06 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -1,7 +1,15 @@ +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.
@@ -25,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']; ?> -

|

- - - -