From bc2f40d30377f922c1bbcf7148cdeda3880b99ef Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 21 Nov 2012 21:16:19 +0000 Subject: [PATCH] Fix typo in [22795] git-svn-id: http://core.svn.wordpress.org/trunk@22796 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 90927e4cbc..a3c9be46ae 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -435,7 +435,7 @@ try{document.post.title.focus();}catch(e){} window.onbeforeunload = function() { var i, changed, current = getFieldsContent(); for ( var i = 0; i < initial.length; i++ ) { - if ( changed = ( inital[i] !== current[i]) ) + if ( changed = ( initial[i] !== current[i]) ) break; } if ( changed )