Make WordPress Core

Ticket #6054: 6054.diff

File 6054.diff, 4.5 KB (added by mdawaffe, 18 years ago)
  • wp-includes/js/autosave.js

     
    103103}
    104104
    105105function autosave_loading() {
    106         jQuery('#autosave').html('<div class="updated"><p>' + autosaveL10n.savingText + '</p></div>');
     106        jQuery('#autosave').html(autosaveL10n.savingText);
    107107}
    108108
    109109function autosave_enable_buttons() {
  • wp-includes/script-loader.php

     
    5353                        'previewPageText' => __('View this Page'),
    5454                        'previewPostText' => __('View this Post'),
    5555                        'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php',
    56                         'savingText' => __('Saving&#8230;')
     56                        'savingText' => __('Saving Draft&#8230;')
    5757                ) );
    5858
    5959                $this->add( 'wp-ajax', '/wp-includes/js/wp-ajax.js', array('prototype'), '20070306');
  • wp-admin/admin-ajax.php

     
    484484        $do_lock = true;
    485485
    486486        $data = '';
    487         $message = '<div class="updated"><p>' . sprintf( __('Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ) . '</p></div>';
     487        $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) );
    488488
    489489        $supplemental = array();
    490490
  • wp-admin/wp-admin.css

     
    10481048        margin-right: 8px;
    10491049}
    10501050
    1051 #poststuff #autosave {
    1052         margin: 0;
    1053         padding: 0;
    1054 }
    1055 
    1056 #poststuff #autosave div.updated, #poststuff #autosave div.error {
    1057         margin: 0 8px 10px 20px;
    1058 }
    1059 
    10601051#poststuff .inside {
    10611052        margin: 0 12px 15px;
    10621053        font-size: 11px;
  • wp-admin/edit-page-form.php

     
    126126if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
    127127        echo "<a href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->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&nbsp;page') . "</a>";
    128128?>
     129<br class="clear" />
    129130<?php if ($post_ID): ?>
    130 <br />
    131131<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
    132132<?php endif; ?>
     133<span id="autosave"></span>
    133134</p>
    134135
    135136<div class="side-info">
     
    169170<?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>
    170171</div>
    171172
    172 <div id="autosave"></div>
    173 
    174173<?php do_meta_boxes('page', 'normal', $post); ?>
    175174
    176175<?php do_action('edit_page_form'); ?>
  • wp-admin/edit-form-advanced.php

     
    148148if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
    149149        echo "<a href='" . wp_nonce_url("post.php?action=delete&amp;post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->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&nbsp;post') . "</a>";
    150150?>
     151<br class="clear" />
    151152<?php if ($post_ID): ?>
    152 <br />
    153153<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
    154154<?php endif; ?>
     155<span id="autosave"></span>
    155156</p>
    156157
    157158<div class="side-info">
     
    197198<?php echo $form_pingback ?>
    198199<?php echo $form_prevstatus ?>
    199200
    200 <div id="autosave"></div>
    201 
    202201<div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>">
    203202<h3><?php _e('Tags'); ?></h3>
    204203<div class="inside">