WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2008 11:16:11 PM (12 years ago)
Author:
ryan
Message:

Validation fixes for post revisions. Props mdawaffe. see #6775

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/revision.php

    r8011 r8012  
    147147        <span class="alignleft"><?php printf( __('Older: %s'), wp_post_revision_title( $left_revision ) ); ?></span>
    148148        <span class="alignright"><?php printf( __('Newer: %s'), wp_post_revision_title( $right_revision ) ); ?></span>
    149     </td>
     149    </th>
    150150</tr>
    151151<?php endif;
     
    168168    <tr id="revision-field-<?php echo $field; ?>">
    169169        <th scope="row"><?php echo wp_specialchars( $field_title ); ?></th>
    170         <td><pre><?php echo $content; ?></pre></td>
     170        <td><div class="pre"><?php echo $content; ?></div></td>
    171171    </tr>
    172172
     
    201201wp_list_post_revisions( $post, $args );
    202202
     203?>
     204
     205</div>
     206
     207<?php
     208
    203209require_once( 'admin-footer.php' );
Note: See TracChangeset for help on using the changeset viewer.