- added comments query changes;

This commit is contained in:
Nikita Sinelnikov
2021-07-23 15:53:07 +03:00
parent b70cb55051
commit 97a2728cdb
2 changed files with 100 additions and 3 deletions
+2 -3
View File
@@ -529,6 +529,7 @@ if ( ! class_exists( 'UM' ) ) {
public function includes() {
$this->common();
$this->access();
if ( $this->is_request( 'ajax' ) ) {
$this->admin();
@@ -540,7 +541,6 @@ if ( ! class_exists( 'UM' ) ) {
$this->columns();
$this->admin()->notices();
$this->admin_navmenu();
$this->access();
$this->plugin_updater();
$this->theme_updater();
} elseif ( $this->is_request( 'admin' ) ) {
@@ -565,7 +565,6 @@ if ( ! class_exists( 'UM' ) ) {
$this->login();
$this->register();
$this->user_posts();
$this->access();
$this->logout();
}
@@ -1517,4 +1516,4 @@ function UM() {
// Global for backwards compatibility.
$GLOBALS['ultimatemember'] = UM();
$GLOBALS['ultimatemember'] = UM();