Make WordPress Core


Ignore:
Timestamp:
08/01/2009 09:15:59 PM (15 years ago)
Author:
ryan
Message:

Add some CYA cap checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/options-privacy.php

    r11380 r11762  
    99/** Load WordPress Administration Bootstrap */
    1010require_once('./admin.php');
     11
     12if ( ! current_user_can('manage_options') )
     13    wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
    1114
    1215$title = __('Privacy Settings');
Note: See TracChangeset for help on using the changeset viewer.