Notice fixes from DD32. see #7509

git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-14 23:01:16 +00:00
parent f6f653c05b
commit 2dc15c5a81
13 changed files with 101 additions and 65 deletions
+1 -6
View File
@@ -343,12 +343,7 @@ require_once ('admin-header.php');
<div class="wrap">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?php
$link_added = ( isset($_GET['added']) && '' != $_POST['link_name'] ) ?
'<div id="message" class="updated fade"><p>' . __('Link added.') . '</p></div>' : '';
?>
<?php if ( isset( $_GET['added'] ) && '' != $_POST['link_name']) : ?>
<?php if ( isset( $_GET['added'] ) ) : ?>
<div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div>
<?php endif; ?>