# jetpack/7.1/modules/comments.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 7.1. 43 lines.

- Page: https://pluginprobe.com/plugins/jetpack/7.1/code/modules/comments.php
- Raw: https://pluginprobe.com/plugins/jetpack/7.1/raw/modules/comments.php
- Modified: 2017-03-29T00:35:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/7.1/code/modules/comments.php#L10-L20`.

```php
<?php

/**
 * Module Name: Comments
 * Module Description: Let readers use WordPress.com, Twitter, Facebook, or Google+ accounts to comment
 * First Introduced: 1.4
 * Sort Order: 20
 * Requires Connection: Yes
 * Auto Activate: No
 * Module Tags: Social
 * Feature: Engagement
 * Additional Search Queries: comments, comment, facebook, twitter, google+, social
 */

require dirname( __FILE__ ) . '/comments/comments.php';

if ( is_admin() ) {
	require dirname( __FILE__ ) . '/comments/admin.php';
}

function jetpack_comments_load() {
	Jetpack::enable_module_configurable( __FILE__ );
	Jetpack::module_configuration_load( __FILE__, 'jetpack_comments_configuration_load' );
}

function jetpack_comments_configuration_load() {
	wp_safe_redirect( admin_url( 'options-discussion.php#jetpack-comments-settings' ) );
	exit;
}

add_action( 'jetpack_modules_loaded', 'jetpack_comments_load' );

Jetpack::dns_prefetch( array(
	'//jetpack.wordpress.com',
	'//s0.wp.com',
	'//s1.wp.com',
	'//s2.wp.com',
	'//public-api.wordpress.com',
	'//0.gravatar.com',
	'//1.gravatar.com',
	'//2.gravatar.com',
) );

```
