PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 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 All 504 releases
← All changes | modules/subscriptions/class-settings.php +6 -14 13.7.216.3-a.1 View file →
@@ -8,14 +8,18 @@
8 8 */
9 9
10 10 namespace Automattic\Jetpack\Modules\Subscriptions;
11 11
12 -use Automattic\Jetpack\Status\Host;
13 -
14 12 /**
15 13 * Class Settings
16 14 */
17 15 class Settings {
16 + /**
17 + * The default reply-to option.
18 + *
19 + * @var string
20 + */
21 + public static $default_reply_to = 'comment';
18 22
19 23 /**
20 24 * Validate the reply-to option.
21 25 *
@@ -27,18 +31,6 @@
27 31 if ( in_array( $reply_to, $valid_values, true ) ) {
28 32 return true;
29 33 }
30 34 return false;
31 - }
32 - /**
33 - * Get the default reply-to option.
34 - *
35 - * @return string The default reply-to option.
36 - */
37 - public static function get_default_reply_to() {
38 - if ( ( new Host() )->is_wpcom_simple() ) {
39 - return 'comment';
40 - }
41 -
42 - return 'no-reply';
43 35 }
44 36 }