From ce4a895af4fdb5b40732c49a971e2d52e6b57ca2 Mon Sep 17 00:00:00 2001 From: Erick Hitter <services@ethitter.com> Date: Tue, 28 Feb 2017 14:40:43 -0800 Subject: [PATCH] Typo makes it hard to find the post type --- includes/class-main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-main.php b/includes/class-main.php index 3673936..ca074f9 100644 --- a/includes/class-main.php +++ b/includes/class-main.php @@ -62,7 +62,7 @@ class Main { } if ( isset( $_REQUEST['post_type'] ) && ! empty( $_REQUEST['post_type'] ) ) { - $vars->posts_type = $_REQUEST['post_type']; + $vars->post_type = $_REQUEST['post_type']; } if ( isset( $_REQUEST['post'] ) && is_array( $_REQUEST['post'] ) ) { -- GitLab