wp/wp-admin/link-add.php
changeset 7 cf61fcea0001
parent 0 d970ebf37754
child 9 177826044cd9
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     8 
     8 
     9 /** Load WordPress Administration Bootstrap */
     9 /** Load WordPress Administration Bootstrap */
    10 require_once( dirname( __FILE__ ) . '/admin.php' );
    10 require_once( dirname( __FILE__ ) . '/admin.php' );
    11 
    11 
    12 if ( ! current_user_can('manage_links') )
    12 if ( ! current_user_can('manage_links') )
    13 	wp_die(__('You do not have sufficient permissions to add links to this site.'));
    13 	wp_die(__('Sorry, you are not allowed to add links to this site.'));
    14 
    14 
    15 $title = __('Add New Link');
    15 $title = __('Add New Link');
    16 $parent_file = 'link-manager.php';
    16 $parent_file = 'link-manager.php';
    17 
    17 
    18 wp_reset_vars( array('action', 'cat_id', 'link_id' ) );
    18 wp_reset_vars( array('action', 'cat_id', 'link_id' ) );