Return true when deleting link to satisfy admin-ajax error check. see #4189

git-svn-id: http://svn.automattic.com/wordpress/trunk@5564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-05-27 19:43:44 +00:00
parent ee5ec0c505
commit ab1d417e55
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ function wp_delete_link($link_id) {
$wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'");
do_action('deleted_link', $link_id);
return true;
}
function wp_get_link_cats($link_id = 0) {