mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -190,6 +190,7 @@ if ( ( 'edit' == $action ) && current_user_can("delete_${post_type}", $post->ID)
|
||||
</div>
|
||||
|
||||
<div id="publishing-action">
|
||||
<img src="images/wpspin_light.gif" id="ajax-loading" style="visibility:hidden;" alt="" />
|
||||
<?php
|
||||
if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
|
||||
if ( $can_publish ) :
|
||||
|
||||
Reference in New Issue
Block a user