From ea82d93624bfed381d88894d4772dd844ba439c3 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 29 Jan 2010 08:11:20 +0000 Subject: [PATCH] Use !empty() for Link searching title. git-svn-id: https://develop.svn.wordpress.org/trunk@12895 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/link-manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index e575aa450c..1d74cfd743 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -43,9 +43,9 @@ if ( empty($order_by) ) $title = __('Edit Links'); $this_file = $parent_file = 'link-manager.php'; -include_once ("./admin-header.php"); +include_once ('./admin-header.php'); -if (!current_user_can('manage_links')) +if ( ! current_user_can('manage_links') ) wp_die(__("You do not have sufficient permissions to edit the links for this blog.")); switch ($order_by) { @@ -73,7 +73,7 @@ switch ($order_by) {

' . __('Search results for “%s”') . '', esc_html( stripslashes($_GET['s']) ) ); ?>