diff --git a/wp-admin/js/revisions.js b/wp-admin/js/revisions.js index 1379ce46d2..ef38340d22 100644 --- a/wp-admin/js/revisions.js +++ b/wp-admin/js/revisions.js @@ -670,7 +670,7 @@ window.wp = window.wp || {}; }, restore: function() { - document.location = $( '#restore' ).data( 'restoreLink' ); + document.location = $( '#restore-revision' ).data( 'restoreLink' ); } });