Don't overwrite $link object in link-manager.php

git-svn-id: https://develop.svn.wordpress.org/trunk@8771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-08-29 08:58:30 +00:00
parent 6d8233700e
commit 3a66322199
1 changed files with 2 additions and 2 deletions

View File

@ -191,10 +191,10 @@ if ( $links ) {
$actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;link_id=$link->link_id", 'delete-bookmark_' . $link->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') . "</a>";
$action_count = count($actions);
$i = 0;
foreach ( $actions as $action => $link ) {
foreach ( $actions as $action => $linkaction ) {
++$i;
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
echo "<span class='$action'>$link$sep</span>";
echo "<span class='$action'>$linkaction$sep</span>";
}
echo '</td>';
break;