mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
- small warnings fixed;
This commit is contained in:
@@ -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'] ) ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user