private function pro_req_notices() { $lca = $this->p->cf['lca']; if ($this->p->is_avail['aop'] === true && empty($this->p->options['plugin_' . $lca . '_tid']) && (empty($this->p->options['plugin_' . $lca . '_tid:is']) || $this->p->options['plugin_' . $lca . '_tid:is'] !== 'disabled')) { $this->p->notice->nag($this->p->msgs->get('notice-pro-tid-missing')); } $has_tid = false; foreach ($this->p->cf['plugin'] as $ext => $info) { if (!empty($this->p->options['plugin_' . $ext . '_tid']) && isset($info['base']) && SucomUtil::active_plugins($info['base'])) { $has_tid = true; if (!$this->p->check->aop($ext, false)) { $this->p->notice->err($this->p->msgs->get('notice-pro-not-installed', array('lca' => $ext)), true); } } } if ($has_tid === true && !$this->p->is_avail['util']['um']) { if (!function_exists('get_plugins')) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } $installed_plugins = get_plugins(); if (!empty($this->p->cf['plugin']['ngfbum']['base']) && is_array($installed_plugins[$this->p->cf['plugin']['ngfbum']['base']])) { $this->p->notice->nag($this->p->msgs->get('notice-um-activate-extension'), true); } else { $this->p->notice->nag($this->p->msgs->get('notice-um-extension-required'), true); } } }