Make WordPress Core

Ticket #3489: 3489.diff

File 3489.diff, 1.4 KB (added by scohoust, 16 years ago)
  • Users/Scott/Sites/wp/trunk/wp-admin/link-manager.php

     
    197197                                        echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . esc_attr(sprintf(__('Edit &#8220;%s&#8221;'), $link->link_name)) . "'>$link->link_name</a></strong><br />";
    198198                                        $actions = array();
    199199                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
    200                                         $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('" . esc_js(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>";
     200                                        $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('" . esc_js(sprintf( __("You are about to delete this link '%s'\n\n  'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
    201201                                        $action_count = count($actions);
    202202                                        $i = 0;
    203203                                        echo '<div class="row-actions">';