PluginProbe
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent / 3.5.4
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent v3.5.4
3.5.4 3.5.3 3.5.2 3.5.1 3.4.9 3.5.0 3.4.8 3.4.7 trunk 2.3.1 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6
← All changes | includes/admin/misc/class-wpsc-option-controller.php +2 -2 3.4.1 → 3.5.4 View file →
@@ -23,9 +23,9 @@
23 23 */
24 24 public static function add_new() {
25 25
26 26 if ( check_ajax_referer( 'wpsc_add_new_option', '_ajax_nonce', false ) !== 1 ) {
27 - wp_send_json_error( 'Unauthorised request!', 401 );
27 + wp_send_json_error( 'Unauthorized request!', 401 );
28 28 }
29 29
30 30 if ( ! WPSC_Functions::is_site_admin() ) {
31 31 wp_send_json_error( __( 'Unauthorized access!', 'supportcandy' ), 401 );
@@ -57,9 +57,9 @@
57 57 */
58 58 public static function update_option() {
59 59
60 60 if ( check_ajax_referer( 'wpsc_set_edit_option', '_ajax_nonce', false ) !== 1 ) {
61 - wp_send_json_error( 'Unauthorised request!', 401 );
61 + wp_send_json_error( 'Unauthorized request!', 401 );
62 62 }
63 63
64 64 if ( ! WPSC_Functions::is_site_admin() ) {
65 65 wp_send_json_error( __( 'Unauthorized access!', 'supportcandy' ), 401 );