equal
deleted
inserted
replaced
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' ) ); |