- small warnings fixed;

This commit is contained in:
nikitozzzzzzz
2018-01-22 15:13:46 +02:00
parent ec807386af
commit 6a6c7abe63
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ if ( ! class_exists( 'Common' ) ) {
global $wp_query;
//We need main query
if ( $q == $wp_query->request ) {
if ( isset( $wp_query->request ) && $q == $wp_query->request ) {
if ( ! empty( $wp_query->query_vars['um_page'] ) ) {