Changeset 33666 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 08/20/2015 07:39:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r33433 r33666 32 32 <?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> 33 33 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button" /> 34 <span class="spinner"></span> 34 35 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?> 35 36 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button" /> 37 <span class="spinner"></span> 36 38 <?php } ?> 37 <span class="spinner"></span> 38 </div> 39 <?php if ( $post_type_object->public ) : ?> 39 </div> 40 <?php if ( is_post_type_viewable( $post_type_object ) ) : ?> 40 41 <div id="preview-action"> 41 42 <?php
Note: See TracChangeset
for help on using the changeset viewer.