From 34a88119f8ddb202ca4be3df62ec2f3d26434e85 Mon Sep 17 00:00:00 2001 From: dd32 Date: Fri, 29 Jan 2010 08:11:20 +0000 Subject: [PATCH] Use !empty() for Link searching title. git-svn-id: http://svn.automattic.com/wordpress/trunk@12895 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 e575aa450..1d74cfd74 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']) ) ); ?>