]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/link.php
WordPress 3.5.1
[autoinstalls/wordpress.git] / wp-admin / link.php
index 9e2d6a86a6bf536b1e8f37198264c0b861f16d2e..d12d229ed83fe22f05f399289fc9c2d2a5c0e36e 100644 (file)
@@ -15,7 +15,7 @@ require_once ('admin.php');
 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[]'));
 
 if ( ! current_user_can('manage_links') )
-       wp_die( __('You do not have sufficient permissions to edit the links for this site.') );
+       wp_link_manager_disabled_message();
 
 if ( !empty($_POST['deletebookmarks']) )
        $action = 'deletebookmarks';