mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 08:40:10 +00:00
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:
@@ -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.'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user