WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/18/2008 11:38:21 PM (13 years ago)
Author:
ryan
Message:

Post revisions from mdawaffe. see #6775

File:
1 edited

Legend:

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

    r7740 r7747  
    77$messages[3] = __('Custom field deleted.');
    88$messages[4] = __('Post updated.');
     9$messages[5] = sprintf( __('Post restored to revision from %s'), wp_post_revision_time( $_GET['revision'] ) );
    910?>
    1011<?php if (isset($_GET['message'])) : ?>
     
    337338<?php endif; ?>
    338339
     340<?php if ( isset($post_ID) && 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) : ?>
     341<div id="revisionsdiv" class="postbox <?php echo postbox_classes('revisionsdiv', 'post'); ?>">
     342<h3><?php _e('Post Revisions'); ?></h3>
     343<div class="inside">
     344<?php wp_list_post_revisions(); ?>
     345</div>
     346</div>
     347<?php endif; ?>
     348
    339349<?php do_meta_boxes('post', 'advanced', $post); ?>
    340350
Note: See TracChangeset for help on using the changeset viewer.