diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 2e83c1cc20..c209f05d58 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -484,7 +484,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() $do_lock = true; $data = ''; - $message = '

' . sprintf( __('Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ) . '

'; + $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ); $supplemental = array(); diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 294dce5bab..a8e9774e8e 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -148,10 +148,11 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) ) echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . ""; ?> +
-
post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> +

@@ -197,8 +198,6 @@ endif; ?> -
-

diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 7c31acc2c7..91b89fb2a4 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -126,10 +126,11 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) ) echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete page') . ""; ?> +
-
post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> +

@@ -169,8 +170,6 @@ endif; ?>
-
- diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index c7901a7f97..b8a4ccf7cb 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -1047,15 +1047,6 @@ html, body { margin-right: 8px; } -#poststuff #autosave { - margin: 0; - padding: 0; -} - -#poststuff #autosave div.updated, #poststuff #autosave div.error { - margin: 0 8px 10px 20px; -} - #poststuff .inside { margin: 0 12px 15px; font-size: 11px; diff --git a/wp-includes/js/autosave.js b/wp-includes/js/autosave.js index b7348afdd1..3f1f1e2652 100644 --- a/wp-includes/js/autosave.js +++ b/wp-includes/js/autosave.js @@ -103,7 +103,7 @@ function autosave_update_slug(post_id) { } function autosave_loading() { - jQuery('#autosave').html('

' + autosaveL10n.savingText + '

'); + jQuery('#autosave').html(autosaveL10n.savingText); } function autosave_enable_buttons() { diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 553b45fad6..91c5017592 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -53,7 +53,7 @@ class WP_Scripts { 'previewPageText' => __('View this Page'), 'previewPostText' => __('View this Post'), 'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php', - 'savingText' => __('Saving…') + 'savingText' => __('Saving Draft…') ) ); $this->add( 'wp-ajax', '/wp-includes/js/wp-ajax.js', array('prototype'), '20070306');