diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 05dff8478f..21c60f584a 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -152,7 +152,7 @@ endforeach; -
+
post_status || 0 == $post_ID) { ?> diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 2430393fb8..a27fc4e99e 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -138,6 +138,7 @@ endforeach;
+ -function autosave_adddiv() { - var buttons = document.getElementsByClassName('submit')[0].innerHTML; - document.getElementsByClassName('submit')[0].innerHTML = '' + buttons; -} function autosave_timer() { autosave(); setTimeout("autosave_timer()", ); @@ -20,7 +16,6 @@ function autosave_start_timer() { setTimeout("autosave_timer()", ); } addLoadEvent(autosave_start_timer) -addLoadEvent(autosave_adddiv); function autosave_cur_time() { var now = new Date();