Javascriptify revision selections to deal elegantly while comparing.

git-svn-id: https://develop.svn.wordpress.org/trunk@8306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-07-10 07:58:19 +00:00
parent e70cdeca15
commit 9327a37ebf
2 changed files with 35 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ case 'diff' :
// If we're comparing a revision to itself, redirect to the 'view' page for that revision or the edit page for that post
if ( $left_revision->ID == $right_revision->ID ) {
$redirect = get_edit_post_link( $left_revision->ID );
include( 'js/revisions-js.php' );
break;
}