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:
parent
29c36e2b75
commit
92d006dac0
|
@ -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; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue