if ( $messages ) { printf( '<div id="message" class="updated notice is-dismissible"><p>%s</p></div>',
implode( ' ',
$messages ) );
}unset( $messages );
$_SERVER['REQUEST_URI'
] =
remove_query_arg( array
( 'locked', 'skipped', 'updated', 'deleted', 'trashed', 'untrashed'
),
$_SERVER['REQUEST_URI'
] );
?>
<?php
$wp_list_table->
views(); ?>
<form id="posts-filter" method="get">
<?php
$wp_list_table->
search_box( $post_type_object->labels->search_items, 'post'
); ?>
<input type="hidden" name="post_status" class="post_status_page" value="<?php
echo !
empty( $_REQUEST['post_status'
] ) ?
esc_attr( $_REQUEST['post_status'
] ) : 'all'; ?>" />
<input type="hidden" name="post_type" class="post_type_page" value="<?php
echo $post_type; ?>" />
<?php
if ( !
empty( $_REQUEST['author'
] ) ) { ?>
<input type="hidden" name="author" value="<?php
echo esc_attr( $_REQUEST['author'
] ); ?>" />
<?php
} ?>