Changeset 12895 for trunk/wp-admin/link-manager.php
- Timestamp:
- 01/29/2010 08:11:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r12894 r12895 44 44 $title = __('Edit Links'); 45 45 $this_file = $parent_file = 'link-manager.php'; 46 include_once ( "./admin-header.php");47 48 if ( !current_user_can('manage_links'))46 include_once ('./admin-header.php'); 47 48 if ( ! current_user_can('manage_links') ) 49 49 wp_die(__("You do not have sufficient permissions to edit the links for this blog.")); 50 50 … … 74 74 <?php screen_icon(); ?> 75 75 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 76 if ( isset($_GET['s']) && $_GET['s'])76 if ( !empty($_GET['s']) ) 77 77 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_GET['s']) ) ); ?> 78 78 </h2>
Note: See TracChangeset
for help on using the changeset viewer.