X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/d3b1ea255664edd2deef17f900a655613d20820d..672d6bc6da735e745275ef7a86341dc1178da8d2:/wp-admin/export.php?ds=sidebyside diff --git a/wp-admin/export.php b/wp-admin/export.php index 4e5f80d1..807ef0fa 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -9,6 +9,9 @@ /** Load WordPress Bootstrap */ require_once ('admin.php'); +if ( !current_user_can('edit_files') ) + wp_die(__('You do not have sufficient permissions to export the content of this blog.')); + /** Load WordPress export API */ require_once('includes/export.php'); $title = __('Export');