Skip to content

Commit f63d321

Browse files
update
1 parent 26bf94c commit f63d321

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

inc/admin/Notices/Notices.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace WCF_ADDONS\Admin\Notices;
34

45
defined( 'ABSPATH' ) || exit();
@@ -49,6 +50,11 @@ public static function instance() {
4950
* @since 2.4.16
5051
*/
5152
public function __construct() {
53+
54+
if(defined( 'WCF_ADDONS_PRO_VERSION' )){
55+
return;
56+
}
57+
5258
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
5359
add_action( 'admin_init', array( $this, 'add_admin_notices' ) );
5460

inc/admin/Notices/ShowNotices.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public static function instance() {
5252
* @since 1.0.0
5353
*/
5454
public function __construct() {
55+
5556
$this->plugin_prefix = 'aae_notice_';
5657
add_action( 'admin_init', array( $this, 'load_messages' ), 1 );
5758
add_filter( 'wp_redirect', array( $this, 'save_messages' ), 1 );

0 commit comments

Comments
 (0)