Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bitwpfi.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Bit Integrations
* Plugin URI: https://bitapps.pro/bit-integrations
* Description: Bit Integrations is a platform that integrates with over 260+ different platforms to help with various tasks on your WordPress site, like WooCommerce, Form builder, Page builder, LMS, Sales funnels, Bookings, CRM, Webhooks, Email marketing, Social media and Spreadsheets, etc
* Version: 2.4.10
* Version: 2.5.0
* Author: Automation & Integration Plugin - Bit Apps
* Author URI: https://bitapps.pro
* Text Domain: bit-integrations
Expand All @@ -24,7 +24,7 @@
$btcbi_db_version = '1.1';

// Define most essential constants.
define('BTCBI_VERSION', '2.4.10');
define('BTCBI_VERSION', '2.5.0');
define('BTCBI_PLUGIN_MAIN_FILE', __FILE__);

require_once plugin_dir_path(__FILE__) . 'includes/loader.php';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -889,11 +889,10 @@ export const SliceWpStateIH = (tmpConf, flowData) => {
}

export const SureCartStateIH = (tmpConf, flowData) => {
const val = Number(flowData.formID)
if (val === 1 || val === 2 || val === 3) {
tmpConf.selectedProduct = flowData.selectedProduct
tmpConf.allProduct = flowData.allProduct
}

tmpConf.selectedProduct = flowData.selectedProduct
tmpConf.allProduct = flowData.allProduct

return tmpConf
}

Expand Down
39 changes: 25 additions & 14 deletions frontend-dev/src/pages/ChangelogToggle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function ChangelogToggle() {

// const source = !btcbi.isPro ? 'bit-integrations' : 'bit-integrations-pro'
// const dealURL = `https://bitapps.pro/new-year-deal/#bit-integrations-pricing`
const releaseDate = '25th February 2025'
const releaseDate = '5th March 2025'

// Changelog items format [{ 'label': '', 'desc': '', 'isPro': true }]
const changeLog = [
Expand All @@ -39,31 +39,42 @@ export default function ChangelogToggle() {
headClass: 'new-trigger',
itemClass: 'integration-list',
items: [
{ label: 'Amelia Booking', desc: '', isPro: true },
{ label: 'bbPress', desc: '', isPro: true },
{ label: 'FluentSMTP', desc: '', isPro: true },
{ label: 'GravityKit', desc: '', isPro: true },
{ label: 'Newsletter', desc: '', isPro: true },
{ label: 'Wishlist Member', desc: '', isPro: true }
{ label: 'Advanced Custom Fields (ACF)', desc: '', isPro: true },
{ label: 'LearnPress LMS', desc: '', isPro: true },
{ label: 'PeepSo', desc: '', isPro: true },
{ label: 'Presto Player', desc: '', isPro: true },
{ label: 'Simply Schedule Appointments', desc: '', isPro: true },
{ label: 'SureMail WordPress SMTP', desc: '', isPro: true }
]
},
{
label: __('New Features', 'bit-integrations'),
headClass: 'new-feature',
itemClass: 'feature-list',
items: [
{
label: 'Klaviyo',
desc: 'Update Profile feature added for enhanced audience segmentation and personalization.',
isPro: true
}
]
items: []
},
{
label: __('New Improvements', 'bit-integrations'),
headClass: 'new-improvement',
itemClass: 'feature-list',
items: []
},
{
label: __('Bug Fixes', 'bit-integrations'),
headClass: 'fixes',
itemClass: 'fixes-list',
items: [
{
label: 'SureCart',
desc: 'Resolved an issue where editing dependencies caused unexpected errors.',
isPro: true
},
{
label: 'SureCart',
desc: 'Fixed a bug where multiple executions occurred unexpectedly.',
isPro: true
}
]
}
]

Expand Down
33 changes: 16 additions & 17 deletions frontend-dev/src/resource/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5642,42 +5642,43 @@ _:-ms-fullscreen,
line-height: 1.3;
}

.new-integration,
.new-note,
.new-trigger,
.new-improvement,
.new-feature,
.fixes {
padding: 2px 13px;
}

.new-integration {
background-color: #8c46e9a3;
color: rgb(255, 255, 255);
padding: 4px 8px;
background-color: #c3e2f2;
text-align: center;
border-radius: 5px;
}

.new-note {
background-color: #406af9f7;
color: rgb(255, 255, 255);
padding: 4px 8px;
text-align: center;
border-radius: 5px;
}

.new-trigger {
background-color: #af388ccf;
color: rgb(255, 255, 255);
padding: 4px 8px;
background-color: #f6cbff;
text-align: center;
border-radius: 5px;
}

.new-improvement {
background-color: #0d00ffa3;
color: rgb(255, 255, 255);
padding: 4px 8px;
background-color: #00ffbf;
text-align: center;
border-radius: 5px;
}

.new-feature {
background-color: #1ab981a3;
background-color: #6518b6;
color: white;
padding: 4px 8px;
text-align: center;
border-radius: 5px;
}
Expand All @@ -5686,14 +5687,12 @@ _:-ms-fullscreen,
margin: 0px 0px 25px 0px;

& > ul {
list-style-type: decimal;
list-style-type: disc;
}
}

.fixes {
background-color: rgb(0 173 255 / 66%);
color: white;
padding: 4px 8px;
background-color: #ffd000;
text-align: center;
border-radius: 5px;
}
Expand All @@ -5710,7 +5709,7 @@ _:-ms-fullscreen,
margin: 0px 0px 25px 0px;

& > ul {
list-style-type: decimal;
list-style-type: circle;
}
}

Expand Down
17 changes: 12 additions & 5 deletions includes/Actions/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace BitCode\FI\Actions;

use FilesystemIterator;
use WP_Error;
use WP_REST_Request;
use FilesystemIterator;

final class ActionController
{
Expand Down Expand Up @@ -37,16 +37,23 @@ final class ActionController
public function handleRedirect(WP_REST_Request $request)
{
$state = $request->get_param('state');
$parsed_url = wp_parse_url(get_site_url());
$site_url = $parsed_url['scheme'] . '://' . $parsed_url['host'];
$site_url .= empty($parsed_url['port']) ? null : ':' . $parsed_url['port'];
if (strpos($state, $site_url) === false) {

if (static::getHostWithPort($state) !== static::getHostWithPort(get_site_url())) {
return new WP_Error('404');
}

$params = $request->get_params();
unset($params['rest_route'], $params['state']);

if (wp_redirect($state . '&' . http_build_query($params), 302)) {
exit;
}
}

public static function getHostWithPort($url)
{
$parsed_url = wp_parse_url($url);

return $parsed_url['host'] . (empty($parsed_url['port']) ? null : (':' . $parsed_url['port']));
}
}
2 changes: 1 addition & 1 deletion includes/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Config

public const VAR_PREFIX = 'btcbi_';

public const VERSION = '2.4.10';
public const VERSION = '2.5.0';

public const DB_VERSION = '1.0';

Expand Down
Loading