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/models/class-wpsc-holiday.php +2 -2 3.3.9 → 3.5.4 View file →
@@ -470,9 +470,9 @@
470 470 */
471 471 public static function get_company_holiday_actions() {
472 472
473 473 if ( check_ajax_referer( 'wpsc_get_company_holiday_actions', '_ajax_nonce', false ) != 1 ) {
474 - wp_send_json_error( 'Unauthorised request!', 401 );
474 + wp_send_json_error( 'Unauthorized request!', 401 );
475 475 }
476 476
477 477 if ( ! WPSC_Functions::is_site_admin() ) {
478 478 wp_send_json_error( 'Unauthorized', 400 );
@@ -553,9 +553,9 @@
553 553 */
554 554 public static function set_company_holiday_actions() {
555 555
556 556 if ( check_ajax_referer( 'wpsc_set_company_holiday_actions', '_ajax_nonce', false ) != 1 ) {
557 - wp_send_json_error( 'Unauthorised request!', 401 );
557 + wp_send_json_error( 'Unauthorized request!', 401 );
558 558 }
559 559
560 560 global $wpdb;
561 561