Make WordPress Core

Ticket #27760: 27760.diff

File 27760.diff, 1.3 KB (added by morganestes, 12 years ago)

Combined fixes of dashboard.js & dashboard.php

  • wp-admin/includes/dashboard.php

     
    469469
    470470                <div class="textarea-wrap" id="description-wrap">
    471471                        <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
    472                         <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"></textarea>
     472                        <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" autocomplete="off"></textarea>
    473473                </div>
    474474
    475475                <p class="submit">
  • wp-admin/js/dashboard.js

     
    6363
    6464        /* QuickPress */
    6565        quickPressLoad = function() {
     66                // Force the Save Draft button to start out enabled
     67                // See https://core.trac.wordpress.org/ticket/27760
     68                $( '#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]' ).prop( 'disabled' , false );
    6669                var act = $('#quickpost-action'), t;
    6770                t = $('#quick-press').submit( function() {
    6871                        $('#dashboard_quick_press #publishing-action .spinner').show();