Changeset 3985 for trunk/wp-admin/link.php
- Timestamp:
- 07/05/2006 10:00:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link.php
r3946 r3985 19 19 // check the current user's level first. 20 20 if (!current_user_can('manage_links')) 21 die(__("Cheatin' uh ?"));21 wp_die(__("Cheatin' uh ?")); 22 22 23 23 //for each link id (in $linkcheck[]) change category to selected value … … 43 43 // check the current user's level first. 44 44 if (!current_user_can('manage_links')) 45 die(__("Cheatin' uh ?"));45 wp_die(__("Cheatin' uh ?")); 46 46 47 47 //for each link id (in $linkcheck[]) change category to selected value … … 80 80 81 81 if (!current_user_can('manage_links')) 82 die(__("Cheatin' uh ?"));82 wp_die(__("Cheatin' uh ?")); 83 83 84 84 wp_delete_link($link_id); … … 96 96 include_once ('admin-header.php'); 97 97 if (!current_user_can('manage_links')) 98 die(__('You do not have sufficient permissions to edit the bookmarks for this blog.'));98 wp_die(__('You do not have sufficient permissions to edit the bookmarks for this blog.')); 99 99 100 100 $link_id = (int) $_GET['link_id']; 101 101 102 102 if (!$link = get_link_to_edit($link_id)) 103 die(__('Link not found.'));103 wp_die(__('Link not found.')); 104 104 105 105 include ('edit-link-form.php');
Note:
See TracChangeset
for help on using the changeset viewer.