From ab1d417e551f9896f5885460bd8d9a317009e0e0 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 27 May 2007 19:43:44 +0000 Subject: [PATCH] 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 --- wp-admin/includes/bookmark.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php index b53bdfccc2..490a9e41f5 100644 --- a/wp-admin/includes/bookmark.php +++ b/wp-admin/includes/bookmark.php @@ -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) {