Move the restrict_manage_posts hook to somewhere more reasonable. see #4359

git-svn-id: https://develop.svn.wordpress.org/trunk@5607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-05-31 02:12:04 +00:00
parent 2451e0e33f
commit c183e02277
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,6 @@ if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($
wp("what_to_show=posts$post_status_q&posts_per_page=15");
do_action('restrict_manage_posts');
// define the columns to display, the syntax is 'internal name' => 'display name'
$posts_columns = array(
'id' => '<div style="text-align: center">' . __('ID') . '</div>',
@ -133,6 +131,8 @@ if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?
<input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
</form>
<?php do_action('restrict_manage_posts'); ?>
<br style="clear:both;" />
<?php include( 'edit-post-rows.php' ); ?>