From 924514a74792e00126dba2c9b4ffc95ad1579648 Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 29 Aug 2008 08:58:30 +0000 Subject: [PATCH] Don't overwrite $link object in link-manager.php git-svn-id: http://svn.automattic.com/wordpress/trunk@8771 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/link-manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 30e19a66a4..c0509a4315 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -191,10 +191,10 @@ if ( $links ) { $actions['delete'] = "link_id) . "' onclick=\"if ( confirm('" . js_escape(sprintf( __("You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete') . ""; $action_count = count($actions); $i = 0; - foreach ( $actions as $action => $link ) { + foreach ( $actions as $action => $linkaction ) { ++$i; ( $i == $action_count ) ? $sep = '' : $sep = ' | '; - echo "$link$sep"; + echo "$linkaction$sep"; } echo ''; break;