delete_option( 'Activated_Akismet'
);
if ( !
headers_sent() ) { $admin_url = self::
get_page_url( 'init'
);
wp_redirect( $admin_url );
} } load_plugin_textdomain( 'akismet'
);
add_meta_box( 'akismet-status',
__('Comment History', 'akismet'
), array
( 'Akismet_Admin', 'comment_status_meta_box'
), 'comment', 'normal'
);
if ( function_exists( 'wp_add_privacy_policy_content'
) ) { wp_add_privacy_policy_content( __( 'Akismet', 'akismet'
),
__( 'We collect information about visitors who comment on Sites that use our Akismet anti-spam service. The information we collect depends on how the User sets up Akismet for the Site, but typically includes the commenter\'s IP address, user agent, referrer, and Site URL (along with other information directly provided by the commenter such as their name, username, email address, and the comment itself).', 'akismet'
) );
} } public static function admin_menu() { if ( class_exists( 'Jetpack'
) ) { add_action( 'jetpack_admin_menu', array
( 'Akismet_Admin', 'load_menu'
) );
} else { self::
load_menu();
}