Don't overwrite $link object in link-manager.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f476b32f1
commit
924514a747
|
@ -191,10 +191,10 @@ if ( $links ) {
|
|||
$actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&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;
|
||||
|
|
Loading…
Reference in New Issue