WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 05:35:47 AM (10 years ago)
Author:
nacin
Message:

Re-position the QuickPress ajax spinner. Fixes #10680

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r13084 r13085  
    423423            <input type="submit" name="save" id="save-post" class="button" tabindex="4" value="<?php esc_attr_e('Save Draft'); ?>" />
    424424            <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
    425             <?php if ( current_user_can('publish_posts') ) { ?>
    426             <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php esc_attr_e('Publish'); ?>" />
    427             <?php } else { ?>
    428             <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php esc_attr_e('Submit for Review'); ?>" />
    429             <?php } ?>
     425            <span id="publishing-action">
     426                <img class="waiting" src="images/wpspin_light.gif" />
     427                <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
     428            </span>
    430429            <br class="clear" />
    431430        </p>
Note: See TracChangeset for help on using the changeset viewer.