PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 15.0
Jetpack – WP Security, Backup, Speed, & Growth v15.0
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
← All changes | modules/comments.php +6 -1 12.6.415.0 View file →
@@ -1,8 +1,8 @@
1 1 <?php
2 2 /**
3 3 * Module Name: Comments
4 - * Module Description: Let visitors use a WordPress.com or Facebook account to comment
4 + * Module Description: Replace the default comment form with a modern, feature‑rich alternative.
5 5 * First Introduced: 1.4
6 6 * Sort Order: 20
7 7 * Requires Connection: Yes
8 8 * Auto Activate: No
@@ -14,8 +14,12 @@
14 14 */
15 15
16 16 use Automattic\Jetpack\Assets;
17 17
18 +if ( ! defined( 'ABSPATH' ) ) {
19 + exit( 0 );
20 +}
21 +
18 22 Assets::add_resource_hint(
19 23 array(
20 24 '//jetpack.wordpress.com',
21 25 '//s0.wp.com',
@@ -30,8 +34,9 @@
30 34 /*
31 35 * Add the main commenting system.
32 36 */
33 37 require __DIR__ . '/comments/comments.php';
38 +require __DIR__ . '/comments/subscription-modal-on-comment/class-jetpack-subscription-modal-on-comment.php';
34 39
35 40 if ( is_admin() ) {
36 41 /**
37 42 * Add the admin functionality.