Make WordPress Core


Ignore:
Timestamp:
08/02/2009 02:23:54 AM (15 years ago)
Author:
azaozz
Message:

More cap checks, for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r11380 r11764  
    99/** Load WordPress Bootstrap */
    1010require_once ('admin.php');
     11
     12if ( !current_user_can('edit_files') )
     13    wp_die(__('You do not have sufficient permissions to export the content of this blog.'));
    1114
    1215/** Load WordPress export API */
Note: See TracChangeset for help on using the changeset viewer.