Skip to content

Commit 6a6f0d0

Browse files
committed
πŸš€ RELEASE: v1.3.0
1 parent 46932f7 commit 6a6f0d0

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-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.2.0';
21+
$this->version = '1.3.0';
2222
$this->cache_key = 'wpfreighter_updater';
2323
$this->cache_allowed = false;
2424

β€Žchangelog.mdβ€Ž

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

3+
## **1.3.0** - 2025-12-07
4+
### Added
5+
- **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.
6+
- **WP-CLI Integration:** Added robust CLI commands (`wp freighter`) to manage sites, clone environments, toggle file modes, and handle domain mapping via the terminal.
7+
- **Developer API:** Introduced the `WPFreighter\Site` class, allowing developers to programmatically create, clone, login, and delete stacked sites.
8+
- **Environment Support:** Added support for the `STACKED_SITE_ID` environment variable to enable context switching in CLI and server environments.
9+
- **Object Cache Compatibility:** Now modifies `WP_CACHE_KEY_SALT` in `wp-config.php` to ensure unique object caching for every stacked site.
10+
- **Storage Stats:** Added directory size calculation to the delete site dialog, providing warnings for dedicated content deletion.
11+
12+
### Changed
13+
- **Architecture Refactor:** Moved core logic from `Run.php` into dedicated `Site` and `CLI` models for better maintainability.
14+
- **Admin Assets:** Migrated inline Vue.js logic from the PHP template to a dedicated `admin-app.js` file.
15+
- **Kinsta Compatibility:** Enhanced support for copying Kinsta-specific `mu-plugins` when creating sites in dedicated mode.
16+
17+
### Fixed
18+
- **Database Hardening:** Implemented `$wpdb->prepare()` across all database write operations to prevent SQL injection vulnerabilities.
19+
- **Input Sanitization:** Added strict input sanitization (`sanitize_text_field`, `sanitize_user`) to all REST API endpoints.
20+
321
## **v1.2.0** - 2025-12-05
422
### Added
523
- **REST API Implementation:** Completely replaced legacy `admin-ajax` calls with secure WordPress REST API endpoints (`wp-freighter/v1`) for better stability and permission handling.

β€Ž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.2.0",
8-
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.2.0/wp-freighter.zip",
7+
"version" : "1.3.0",
8+
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.3.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-05 10:00:00",
13+
"last_updated" : "2025-12-07 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.2.0
14+
* Version: 1.3.0
1515
* Author: Austin Ginder
1616
* Author URI: https://austinginder.com
1717
* License: MIT

0 commit comments

Comments
Β (0)