Move manage_comments_nav action after Apply. see #7552

git-svn-id: http://svn.automattic.com/wordpress/trunk@8710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-08-22 06:07:23 +00:00
parent 072c3add0a
commit 270139fb91
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ if ( $page_links )
<div class="alignleft">
<select name="action">
<option value="" selected>Actions</option>
<option value="" selected><?php _e('Actions') ?></option>
<?php if ( 'approved' == $comment_status ): ?>
<option value="unapprove"><?php _e('Unapprove'); ?></option>
<?php else : ?>
@ -193,9 +193,9 @@ if ( $page_links )
<?php endif; ?>
<option value="delete"><?php _e('Delete'); ?></option>
</select>
<input type="submit" name="doaction" value="Apply" class="button-secondary apply" />
<?php do_action('manage_comments_nav', $comment_status); ?>
<?php wp_nonce_field('bulk-comments'); ?>
<input type="submit" name="doaction" value="Apply" class="button-secondary apply" />
<?php if ( isset($_GET['apage']) ) { ?>
<input type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" />
<?php } ?>