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/class-wpsc-macros.php +16 -12 3.3.7 → 3.5.4 View file →
@@ -543,9 +543,10 @@
543 543 */
544 544 public static function replace_ticket_history_all( $str, $ticket ) {
545 545
546 546 $filters = array(
547 - 'meta_query' => array(
547 + 'items_per_page' => 0,
548 + 'meta_query' => array(
548 549 'relation' => 'AND',
549 550 array(
550 551 'slug' => 'ticket',
551 552 'compare' => '=',
@@ -561,10 +562,10 @@
561 562 'compare' => '=',
562 563 'val' => 1,
563 564 ),
564 565 ),
565 - 'orderby' => 'id',
566 - 'order' => 'DESC',
566 + 'orderby' => 'id',
567 + 'order' => 'DESC',
567 568 );
568 569
569 570 $threads = WPSC_Thread::find( $filters );
570 571
@@ -647,9 +648,10 @@
647 648 */
648 649 public static function replace_ticket_history_all_with_notes( $str, $ticket ) {
649 650
650 651 $filters = array(
651 - 'meta_query' => array(
652 + 'items_per_page' => 0,
653 + 'meta_query' => array(
652 654 'relation' => 'AND',
653 655 array(
654 656 'slug' => 'ticket',
655 657 'compare' => '=',
@@ -665,10 +667,10 @@
665 667 'compare' => '=',
666 668 'val' => 1,
667 669 ),
668 670 ),
669 - 'orderby' => 'id',
670 - 'order' => 'DESC',
671 + 'orderby' => 'id',
672 + 'order' => 'DESC',
671 673 );
672 674
673 675 $threads = WPSC_Thread::find( $filters );
674 676
@@ -699,9 +701,10 @@
699 701 */
700 702 public static function replace_ticket_history_all_with_logs( $str, $ticket ) {
701 703
702 704 $filters = array(
703 - 'meta_query' => array(
705 + 'items_per_page' => 0,
706 + 'meta_query' => array(
704 707 'relation' => 'AND',
705 708 array(
706 709 'slug' => 'ticket',
707 710 'compare' => '=',
@@ -717,10 +720,10 @@
717 720 'compare' => '=',
718 721 'val' => 1,
719 722 ),
720 723 ),
721 - 'orderby' => 'id',
722 - 'order' => 'DESC',
724 + 'orderby' => 'id',
725 + 'order' => 'DESC',
723 726 );
724 727
725 728 $threads = WPSC_Thread::find( $filters );
726 729
@@ -751,9 +754,10 @@
751 754 */
752 755 public static function replace_ticket_history_all_with_notes_and_logs( $str, $ticket ) {
753 756
754 757 $filters = array(
755 - 'meta_query' => array(
758 + 'items_per_page' => 0,
759 + 'meta_query' => array(
756 760 'relation' => 'AND',
757 761 array(
758 762 'slug' => 'ticket',
759 763 'compare' => '=',
@@ -769,10 +773,10 @@
769 773 'compare' => '=',
770 774 'val' => 1,
771 775 ),
772 776 ),
773 - 'orderby' => 'id',
774 - 'order' => 'DESC',
777 + 'orderby' => 'id',
778 + 'order' => 'DESC',
775 779 );
776 780
777 781 $threads = WPSC_Thread::find( $filters );
778 782