Changeset 3751971 for mxchat-basic/trunk/admin/class-ajax-handler.php
- Timestamp:
- 10/17/2026 01:47:11 PM (12 days ago)
- File:
-
- 1 edited
-
mxchat-basic/trunk/admin/class-ajax-handler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mxchat-basic/trunk/admin/class-ajax-handler.php
r3738408 r3751971 360 360 check_ajax_referer('mxchat_save_setting_nonce'); 361 361 if (!current_user_can('manage_options')) { 362 ('MXChat Save: Unauthorized access attempt'); 363 wp_send_json_error(['message' => esc_html__('Unauthorized', 'mxchat')]); 362 // 403, like the nonce failure above: the read-only transcripts role 363 // (plan 93999a) must not save the Transcripts notification or 364 // retention settings that post here. 365 wp_send_json_error(['message' => esc_html__('Unauthorized', 'mxchat')], 403); 364 366 } 365 367
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)