Changeset 3422 for trunk/wp-admin/link-manager.php
- Timestamp:
- 01/10/2006 05:16:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link-manager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r3295 r3422 7 7 $title = __('Manage Links'); 8 8 $this_file = $parent_file = 'link-manager.php'; 9 $list_js = true; 9 10 10 11 $wpvarstoreset = array('action','cat_id', 'linkurl', 'name', 'image', … … 180 181 181 182 case 'linkedit': { 182 $xfn = true;183 include_once ('admin-header.php');184 if ( !current_user_can('manage_links') )185 die(__('You do not have sufficient permissions to edit the links for this blog.'));186 187 $link_id = (int) $_GET['link_id'];188 183 $xfn_js = true; 184 include_once ('admin-header.php'); 185 if ( !current_user_can('manage_links') ) 186 die(__('You do not have sufficient permissions to edit the links for this blog.')); 187 188 $link_id = (int) $_GET['link_id']; 189 189 190 if ( !$link = get_link_to_edit($link_id) ) 190 191 die( __('Link not found.') ); 191 192 192 193 include('edit-link-form.php'); 193 break;194 break; 194 195 } // end linkedit 195 196 case __("Show"):
Note: See TracChangeset
for help on using the changeset viewer.