示例#1
0
/**
 * Display list of revisions.
 *
 * @since 2.6.0
 *
 * @param object $post
 */
function post_revisions_meta_box($post)
{
    nxt_list_post_revisions();
}
示例#2
0
	<tr><td colspan="2"><div class="updated"><p><?php 
    _e('These revisions are identical.');
    ?>
</p></div></td></tr>

	<?php 
}
?>

</table>

<br class="clear" />

<h3><?php 
echo $title;
?>
</h3>

<?php 
$args = array('format' => 'form-table', 'parent' => true, 'right' => $right, 'left' => $left);
if (!nxt_POST_REVISIONS || !post_type_supports($post->post_type, 'revisions')) {
    $args['type'] = 'autosave';
}
nxt_list_post_revisions($post, $args);
?>

</div>

<?php 
require_once './admin-footer.php';