X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..312084b5d95c21feb519ff03decf948420e1f6fa:/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']; ?> -

|

- - - -