| @@ -496,11 +496,9 @@ | ||
| 496 | 496 | ]; |
| 497 | 497 | |
| 498 | 498 | $url = add_query_arg($data, 'https://wpmanageninja.com/'); |
| 499 | 499 | |
| 500 | - wp_remote_post($url, [ | |
| 501 | - 'sslverify' => false | |
| 502 | - ]); | |
| 500 | + wp_remote_post($url); | |
| 503 | 501 | } |
| 504 | 502 | |
| 505 | 503 | /** |
| 506 | 504 | * installFluentCRM method will install Fluent CRM plugin |
| @@ -735,8 +733,9 @@ | ||
| 735 | 733 | 'title' => 'Dropbox', |
| 736 | 734 | 'has_config' => true, |
| 737 | 735 | 'is_configured' => $dropBoxConfigured, |
| 738 | 736 | 'require_pro' => !defined('FLUENTSUPPORTPRO'), |
| 737 | + 'upgrade_url' => Helper::getUpgradeUrl('feature_lock_dropbox'), | |
| 739 | 738 | 'icon' => FLUENT_SUPPORT_PLUGIN_URL . 'assets/images/icons/dbox.svg', |
| 740 | 739 | 'description' => __('Upload and store the files to your Dropbox Storage.', 'fluent-support') |
| 741 | 740 | ], |
| 742 | 741 | 'google_drive' => [ |
| @@ -744,9 +743,9 @@ | ||
| 744 | 743 | 'title' => 'Google Drive', |
| 745 | 744 | 'has_config' => true, |
| 746 | 745 | 'is_configured' => $googleDriveConfigured, |
| 747 | 746 | 'require_pro' => !defined('FLUENTSUPPORTPRO'), |
| 748 | - 'upgrade_url' => 'https://fluentsupport.com/pricing', | |
| 747 | + 'upgrade_url' => Helper::getUpgradeUrl('feature_lock_google_drive'), | |
| 749 | 748 | 'description' => __('Upload and store the files to your Google Drive Storage.', 'fluent-support'), |
| 750 | 749 | 'icon' => FLUENT_SUPPORT_PLUGIN_URL . 'assets/images/icons/drive.svg', |
| 751 | 750 | ], |
| 752 | 751 | 'cloudflare_r2' => [ |
| @@ -754,9 +753,9 @@ | ||
| 754 | 753 | 'title' => 'Cloudflare R2', |
| 755 | 754 | 'has_config' => true, |
| 756 | 755 | 'is_configured' => $cloudflareR2Configured, |
| 757 | 756 | 'require_pro' => !defined('FLUENTSUPPORTPRO'), |
| 758 | - 'upgrade_url' => 'https://fluentsupport.com/pricing', | |
| 757 | + 'upgrade_url' => Helper::getUpgradeUrl('feature_lock_cloudflare_r2'), | |
| 759 | 758 | 'description' => __('Upload and store the files to Cloudflare R2 Storage with zero egress fees.', 'fluent-support'), |
| 760 | 759 | 'icon' => FLUENT_SUPPORT_PLUGIN_URL . 'assets/images/icons/cloudflare-r2.svg', |
| 761 | 760 | ], |
| 762 | 761 | 'amazon_s3' => [ |
| @@ -764,9 +763,9 @@ | ||
| 764 | 763 | 'title' => 'Amazon S3', |
| 765 | 764 | 'has_config' => true, |
| 766 | 765 | 'is_configured' => $amazonS3Configured, |
| 767 | 766 | 'require_pro' => !defined('FLUENTSUPPORTPRO'), |
| 768 | - 'upgrade_url' => 'https://fluentsupport.com/pricing', | |
| 767 | + 'upgrade_url' => Helper::getUpgradeUrl('feature_lock_amazon_s3'), | |
| 769 | 768 | 'description' => __('Upload and store the files to Amazon S3 cloud storage.', 'fluent-support'), |
| 770 | 769 | 'icon' => FLUENT_SUPPORT_PLUGIN_URL . 'assets/images/icons/amazon-s3.svg', |
| 771 | 770 | ] |
| 772 | 771 | ]); |
| @@ -835,9 +834,9 @@ | ||
| 835 | 834 | return $mapping; |
| 836 | 835 | }, $settings['productMappings']); |
| 837 | 836 | } |
| 838 | 837 | |
| 839 | - $productItems = Product::all()->map(function ($product) { | |
| 838 | + $productItems = Product::orderedByTitle()->get()->map(function ($product) { | |
| 840 | 839 | return [ |
| 841 | 840 | 'id' => $product->id, |
| 842 | 841 | 'title' => $product->title |
| 843 | 842 | ]; |