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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-31 02:12:04 +00:00
parent 990ca286c1
commit ce8ddce5c4
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' ); ?>