Set charset. Props ruckus. fixes #2289

git-svn-id: https://develop.svn.wordpress.org/trunk@3439 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-01-15 23:21:29 +00:00
parent 6a0ee8785c
commit 78f83fd29e
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
require_once('admin.php');
header('Content-Type: text/html; charset=' . get_option('blog_charset'));
if (!current_user_can('edit_posts'))
die(__('You do not have permission to edit posts.'));