← All changes
|
includes/admin/settings/wppm_set_general_settings.php
+2
-0
5.0.6
→
6.0.6
View file →
| @@ -43,8 +43,10 @@ | ||
| 43 | 43 | $wppm_proj_hide_comment_section = isset($_POST) && isset(($_POST['wppm_proj_comment_section'])) ? sanitize_text_field(wp_unslash($_POST['wppm_proj_comment_section'])) : '1'; |
| 44 | 44 | update_option('wppm_proj_hide_comment_section',$wppm_proj_hide_comment_section); |
| 45 | 45 | $wppm_task_hide_comment_section = isset($_POST) && isset(($_POST['wppm_task_comment_section'])) ? sanitize_text_field(wp_unslash($_POST['wppm_task_comment_section'])) : '1'; |
| 46 | 46 | update_option('wppm_task_hide_comment_section',$wppm_task_hide_comment_section); |
| 47 | +$wppm_global_mention_comment_notification = isset($_POST) && isset(($_POST['wppm_default_global_mention_comment_notification'])) ? sanitize_text_field(wp_unslash($_POST['wppm_default_global_mention_comment_notification'])) : '1'; | |
| 48 | +update_option('wppm_default_global_mention_comment_notification',$wppm_global_mention_comment_notification); | |
| 47 | 49 | do_action('wppm_set_general_settings'); |
| 48 | 50 | |
| 49 | 51 | echo wp_json_encode( array( |
| 50 | 52 | 'sucess_status' => 1, |