Skip to content
Snippets Groups Projects
Commit aff6cbcf authored by Erick Hitter's avatar Erick Hitter
Browse files

Capture post type as well

parent 43881ffa
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,10 @@ class Main {
$vars->action = (int) $_REQUEST['action2'];
}
if ( isset( $_REQUEST['post_type'] ) && ! empty( $_REQUEST['post_type'] ) ) {
$vars->posts_type = $_REQUEST['post_type'];
}
if ( isset( $_REQUEST['post'] ) && is_array( $_REQUEST['post'] ) ) {
$vars->posts = array_map( 'absint', $_REQUEST['post'] );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment