Make WordPress Core

Changeset 3213


Ignore:
Timestamp:
11/25/2005 10:44:48 PM (20 years ago)
Author:
matt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r3150 r3213  
    151151<?php if ( !$richedit ) the_quicktags(); ?>
    152152
    153 <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>
     153<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>
    154154</fieldset>
    155155
Note: See TracChangeset for help on using the changeset viewer.