Changeset 9506 for trunk/wp-admin/edit-link-form.php
- Timestamp:
- 11/04/2008 03:22:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-form.php
r9363 r9506 71 71 72 72 <?php 73 if ( 'edit' == $_GET['action'] && current_user_can('manage_links') )73 if ( !empty($_GET['action']) && 'edit' == $_GET['action'] && current_user_can('manage_links') ) 74 74 echo "<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 link') . "</a>"; 75 75 ?> … … 342 342 --> 343 343 <?php 344 echo $form; 345 echo $link_added; 344 if ( !empty($form) ) 345 echo $form; 346 if ( !empty($link_added) ) 347 echo $link_added; 346 348 347 349 wp_nonce_field( $nonce_action );
Note: See TracChangeset
for help on using the changeset viewer.