← All changes
|
admin/partials/settings/poll-maker-settings-actions.php
+4
-0
6.4.1
→
6.5.1
View file →
| @@ -68,8 +68,11 @@ | ||
| 68 | 68 | |
| 69 | 69 | // General CSS File |
| 70 | 70 | $poll_exclude_general_css = (isset( $data['ays_poll_exclude_general_css'] ) && sanitize_text_field( $data['ays_poll_exclude_general_css'] ) == 'on') ? 'on' : 'off'; |
| 71 | 71 | |
| 72 | + // Menu notifications | |
| 73 | + $poll_disable_poll_menu_notification = (isset( $data['ays_poll_disable_poll_menu_notification'] ) && sanitize_text_field( $data['ays_poll_disable_poll_menu_notification'] ) == 'on') ? 'on' : 'off'; | |
| 74 | + | |
| 72 | 75 | // WP Editor height |
| 73 | 76 | $poll_wp_editor_height = (isset($data['ays_poll_wp_editor_height']) && $data['ays_poll_wp_editor_height'] != '' && $data['ays_poll_wp_editor_height'] != 0) ? absint( sanitize_text_field($data['ays_poll_wp_editor_height']) ) : 50; |
| 74 | 77 | |
| 75 | 78 | $options = array( |
| @@ -86,8 +89,9 @@ | ||
| 86 | 89 | "show_result_view" => $poll_show_result_view, |
| 87 | 90 | "poll_animation_top" => $poll_animation_top, |
| 88 | 91 | "poll_enable_animation_top" => $poll_enable_animation_top, |
| 89 | 92 | "poll_exclude_general_css" => $poll_exclude_general_css, |
| 93 | + "poll_disable_poll_menu_notification" => $poll_disable_poll_menu_notification, | |
| 90 | 94 | "poll_wp_editor_height" => $poll_wp_editor_height, |
| 91 | 95 | ); |
| 92 | 96 | |
| 93 | 97 | $poll_fields_placeholder_name = (isset($data['ays_poll_fields_placeholder_name']) && $data['ays_poll_fields_placeholder_name'] != '') ? stripslashes(sanitize_text_field( $data['ays_poll_fields_placeholder_name'] )) : 'Name' ; |