Make WordPress Core

Ticket #1942: edit-form-advanced.php.diff

File edit-form-advanced.php.diff, 760 bytes (added by ringmaster, 21 years ago)

Get rid of that floating "true"

  • edit-form-advanced.php

     
    150150?>
    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
    156156<?php if ( !$richedit ) : ?>