mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-31 04:31:35 +01:00
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:
parent
990ca286c1
commit
ce8ddce5c4
@ -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");
|
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'
|
// define the columns to display, the syntax is 'internal name' => 'display name'
|
||||||
$posts_columns = array(
|
$posts_columns = array(
|
||||||
'id' => '<div style="text-align: center">' . __('ID') . '</div>',
|
'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 »'); ?>" class="button" />
|
<input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<?php do_action('restrict_manage_posts'); ?>
|
||||||
|
|
||||||
<br style="clear:both;" />
|
<br style="clear:both;" />
|
||||||
|
|
||||||
<?php include( 'edit-post-rows.php' ); ?>
|
<?php include( 'edit-post-rows.php' ); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user