Skip to content

Commit 7ea1c21

Browse files
committed
πŸš€ RELEASE: v1.4.0
1 parent 9cb0c37 commit 7ea1c21

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

β€Žapp/Updater.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct() {
1818
}
1919

2020
$this->plugin_slug = dirname ( plugin_basename( __DIR__ ) );
21-
$this->version = '1.3.0';
21+
$this->version = '1.4.0';
2222
$this->cache_key = 'wpfreighter_updater';
2323
$this->cache_allowed = false;
2424

β€Žchangelog.mdβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## **1.4.0** - 2025-12-09
4+
### Added
5+
- **Bootstrap Architecture:** Introduced `wp-content/freighter.php` to handle site loading logic. This significantly reduces the footprint within `wp-config.php` to a single `require_once` line, making the configuration more robust and easier to read.
6+
- **Local Dependencies:** Removed reliance on external CDNs (delivr.net) for frontend assets. Vue.js, Vuetify, and Axios are now bundled locally within the plugin, improving privacy, compliance (GDPR), and offline development capabilities.
7+
- **Manual Configuration UI:** Added a dedicated interface for environments with strict file permissions. If the plugin cannot write to `wp-config.php` or create the bootstrap file, it now provides the exact code snippets and a "Copy to Clipboard" feature for manual installation.
8+
- **Session Gatekeeper:** Implemented stricter security logic for cookie-based context switching. The plugin now actively verifies that a user is authenticated or in the process of logging in before allowing access to a stacked site via cookies.
9+
- **"Login to Main" Button:** Added a quick-access button in the toolbar to return to the main parent site dashboard when viewing a stacked site with domain mapping enabled.
10+
11+
### Changed
12+
- **Context Switching:** Refactored the context switching logic to force an immediate header reload when setting the `stacked_site_id` cookie. This resolves issues where the context switch would occasionally fail on the first attempt.
13+
- **Asset Management:** Added a developer utility (`WPFreighter\Dev\AssetFetcher`) to programmatically fetch and update frontend vendor libraries.
14+
15+
### Fixed
16+
- **Cookie Reliability:** Fixed an issue where the site ID cookie wasn't being set early enough during the request lifecycle for specific hosting configurations.
17+
318
## **1.3.0** - 2025-12-07
419
### Added
520
- **Hybrid Mode:** Introduced a new "Hybrid" file mode that shares plugins and themes across all sites while keeping the `uploads` folder unique for each site. Perfect for agencies managing standardized stacks with different media libraries.

β€Žmanifest.jsonβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"author" : "<a href='https://austinginder.com'>Austin Ginder</a>",
55
"author_profile" : "https://profiles.wordpress.org/austinginder",
66
"donate_link" : "https://github.com/sponsors/austinginder",
7-
"version" : "1.3.0",
8-
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.3.0/wp-freighter.zip",
7+
"version" : "1.4.0",
8+
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.4.0/wp-freighter.zip",
99
"requires" : "5.4",
1010
"tested" : "6.9",
1111
"requires_php" : "7.0",
1212
"added" : "2020-09-10 02:10:00",
13-
"last_updated" : "2025-12-07 10:00:00",
13+
"last_updated" : "2025-12-09 10:00:00",
1414
"homepage" : "https://wpfreighter.com",
1515
"sections" : {
1616
"description" : "Multi-tenant mode for WordPress.",

β€Žwp-freighter.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: WP Freighter
1212
* Plugin URI: https://wpfreighter.com
1313
* Description: Multi-tenant mode for WordPress
14-
* Version: 1.3.0
14+
* Version: 1.4.0
1515
* Author: Austin Ginder
1616
* Author URI: https://austinginder.com
1717
* License: MIT

0 commit comments

Comments
Β (0)