Only show tooltip when rich editing is on, fixes #1942

git-svn-id: https://develop.svn.wordpress.org/trunk@3213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-11-25 22:44:48 +00:00
parent 1761ed4b6b
commit f684d12d67

View File

@ -150,7 +150,7 @@ endforeach;
?>
<?php if ( !$richedit ) the_quicktags(); ?>
<div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="2" id="content"><?php echo $richedit ? wp_richedit_pre($post->post_content) : $post->post_content; ?></textarea></div>
<div><textarea <?php if ( $richedit ) echo 'title="true"'; ?> rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="2" id="content"><?php echo $richedit ? wp_richedit_pre($post->post_content) : $post->post_content; ?></textarea></div>
</fieldset>
<?php if ( !$richedit ) : ?>