web/wp-admin/link.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
    13 require_once ('admin.php');
    13 require_once ('admin.php');
    14 
    14 
    15 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'));
    15 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'));
    16 
    16 
    17 if ( ! current_user_can('manage_links') )
    17 if ( ! current_user_can('manage_links') )
    18 	wp_die( __('You do not have sufficient permissions to edit the links for this site.') );
    18 	wp_link_manager_disabled_message();
    19 
    19 
    20 if ( !empty($_POST['deletebookmarks']) )
    20 if ( !empty($_POST['deletebookmarks']) )
    21 	$action = 'deletebookmarks';
    21 	$action = 'deletebookmarks';
    22 if ( !empty($_POST['move']) )
    22 if ( !empty($_POST['move']) )
    23 	$action = 'move';
    23 	$action = 'move';