PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.4.5
Fluent Support – Helpdesk & Customer Support Ticket System v2.4.5
2.4.5 2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 All 69 releases
← All changes | app/Hooks/Handlers/DataExporter.php +2 -2 2.4.0 → 2.4.5 View file →
@@ -91,9 +91,9 @@
91 91 {
92 92 $permission = 'fst_view_all_reports';
93 93
94 94 if ( ! isset($_REQUEST['_wpnonce']) || ! wp_verify_nonce(sanitize_text_field(wp_unslash($_REQUEST['_wpnonce'])), 'fluent-support') ) {
95 - wp_die('Security check failed');
95 + wp_die(esc_html__('Security check failed.', 'fluent-support'));
96 96 }
97 97
98 98 if ( PermissionManager::currentUserCan($permission) ) {
99 99 return true;
@@ -98,8 +98,8 @@
98 98 if ( PermissionManager::currentUserCan($permission) ) {
99 99 return true;
100 100 }
101 101
102 - wp_die('You do not have permission');
102 + wp_die(esc_html__('You do not have permission to export this data.', 'fluent-support'));
103 103 }
104 104
105 105 }