mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user