Set charset. Props ruckus. fixes #2289

git-svn-id: http://svn.automattic.com/wordpress/trunk@3439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-01-15 23:21:29 +00:00
parent aaf8f92d73
commit 43abf185f3
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.'));