Skip to content

Commit

Permalink
UPDATE: Merged branch develop with master 馃挴
Browse files Browse the repository at this point in the history
  • Loading branch information
asharirfan committed Jan 15, 2018
2 parents ba2c0e7 + b62b4da commit f8da546
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 102 deletions.
6 changes: 5 additions & 1 deletion classes/Views/AuditLog.php
Expand Up @@ -63,7 +63,11 @@ public function __construct( WpSecurityAuditLog $plugin ) {
public function AdminNoticesPremium() {
$is_current_view = $this->_plugin->views->GetActiveView() == $this;
// Check if any of the extensions is activated.
if ( wsal_freemius()->is_not_paying() ) {
if ( ! class_exists( 'WSAL_NP_Plugin' )
&& ! class_exists( 'WSAL_Ext_Plugin' )
&& ! class_exists( 'WSAL_Rep_Plugin' )
&& ! class_exists( 'WSAL_SearchExtension' )
&& ! class_exists( 'WSAL_User_Management_Plugin' ) ) {
if ( current_user_can( 'manage_options' ) && $is_current_view && ! $this->IsNoticeDismissed( 'premium-wsal-' . $this->_version ) ) { ?>
<div class="updated wsal_notice" data-notice-name="premium-wsal-<?php echo esc_attr( $this->_version ); ?>">
<div class="wsal_notice__wrapper">
Expand Down

0 comments on commit f8da546

Please sign in to comment.