Suppress "Link added" message when it has not been added. Props Nazgul. fixes #3200

git-svn-id: http://svn.automattic.com/wordpress/trunk@4448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-11-04 07:00:29 +00:00
parent 29c36e2b75
commit 92d006dac0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if ( current_user_can( 'manage_categories' ) )
require('admin-header.php');
?>
<?php if ($_GET['added']) : ?>
<?php if ($_GET['added'] && '' != $_POST['link_name']) : ?>
<div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div>
<?php endif; ?>