Make WordPress Core


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

More cap checks, for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-add.php

    r9620 r11764  
    99/** Load WordPress Administration Bootstrap */
    1010require_once('admin.php');
     11
     12if ( ! current_user_can('manage_links') )
     13    wp_die(__('You do not have sufficient permissions to add links to this blog.'));
    1114
    1215$title = __('Add New Link');
Note: See TracChangeset for help on using the changeset viewer.