Skip to content

Commit 5dd833d

Browse files
committed
🚀 RELEASE: v1.2.0
1 parent 48f93a0 commit 5dd833d

File tree

4 files changed

+89
-2
lines changed

4 files changed

+89
-2
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.1.2';
21+
$this->version = '1.2.0';
2222
$this->cache_key = 'wpfreighter_updater';
2323
$this->cache_allowed = false;
2424

‎changelog.md‎

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Changelog
2+
3+
## [1.2.0] - 2025-12-05
4+
### Added
5+
- **REST API Implementation:** Completely replaced legacy `admin-ajax` calls with secure WordPress REST API endpoints (`wp-freighter/v1`) for better stability and permission handling.
6+
- **Clone Specific Sites:** Added functionality to clone any specific stacked site directly from the site list, not just the main site.
7+
- **Enhanced Clone Dialog:** New UI dialog allowing users to define the Label or Domain immediately when cloning a site.
8+
- **Smart Defaults:** The "New Site" form now pre-fills the current user's email and username, and automatically generates a secure random password.
9+
- **Manifest Support:** Added `manifest.json` for standardized update checking.
10+
11+
### Changed
12+
- **Frontend Dependencies:** Updated Vue.js to v2.7.16, Vuetify to v2.6.13, and Axios to v1.13.2.
13+
- **Updater Logic:** Migrated the update checker to pull release data directly from the GitHub repository (`raw.githubusercontent.com`) instead of the previous proprietary endpoint.
14+
- **Admin Bar:** The "Exit WP Freighter" button now utilizes a Javascript-based REST API call for a smoother exit transition.
15+
16+
### Fixed
17+
- **Theme Upgrader Noise:** Implemented a silent skin for the `Theme_Upgrader` to prevent HTML output from breaking JSON responses when installing default themes on new sites.
18+
- **Fallback Logic:** The updater now falls back to a local manifest file if the remote check fails.
19+
20+
## [1.1.2] - 2023-05-04
21+
### Changed
22+
- Site cloning will copy current source content folder over to new `/content/<id>/`.
23+
- Refresh WP Freighter configs on plugin update.
24+
25+
### Fixed
26+
- PHP 8 warnings and errors.
27+
28+
## [1.1.1] - 2023-03-18
29+
### Fixed
30+
- PHP 8 issues.
31+
32+
## [1.1] - 2022-12-28
33+
### Added
34+
- **Free for everyone:** Removed EDD integration.
35+
- **Automatic Updates:** Integrated with Github release.
36+
- Settings link to plugin page.
37+
38+
## [1.0.2] - 2021-08-21
39+
### Fixed
40+
- Bad logic where configurations weren't always regenerated after sites changed.
41+
- Various PHP warnings.
42+
43+
## [1.0.1] - 2020-09-18
44+
### Added
45+
- Automatic installation of default theme when creating new sites if needed.
46+
- Overlay loader while new sites are installing.
47+
- Fields for domain or label on the new site dialog.
48+
49+
### Changed
50+
- Compatibility for alternative `wp-config.php` location.
51+
- Force HTTPS in urls.
52+
53+
### Fixed
54+
- Inconsistent response of sites array.
55+
56+
## [1.0.0] - 2020-09-10
57+
### Added
58+
- Initial release of WP Freighter.
59+
- Ability to add or remove stacked sites with database prefix `stacked_#_`.
60+
- Clone existing site to new database prefix.
61+
- Add new empty site to new database prefix.
62+
- Domain mapping off or on.
63+
- Files shared or dedicated.

‎manifest.json‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name" : "WP Freighter",
3+
"slug" : "wp-freighter",
4+
"author" : "<a href='https://austinginder.com'>Austin Ginder</a>",
5+
"author_profile" : "https://profiles.wordpress.org/austinginder",
6+
"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",
9+
"requires" : "5.6",
10+
"tested" : "6.9",
11+
"requires_php" : "5.6",
12+
"added" : "2020-09-10 02:10:00",
13+
"last_updated" : "2025-12-05 10:00:00",
14+
"homepage" : "https://wpfreighter.com",
15+
"sections" : {
16+
"description" : "Multi-tenant mode for WordPress.",
17+
"installation" : "Install and activate the plugin.",
18+
"changelog" : "Refer to official <a href='https://wpfreighter.com/changelog/'>changelog</a> for more details."
19+
},
20+
"banners" : {
21+
"low" : "https://wpfreighter.com/images/wp-freighter-banner-772x250.webp",
22+
"high" : "https://wpfreighter.com/images/wp-freighter-banner-1544x500.webp"
23+
}
24+
}

‎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.1.2
14+
* Version: 1.2.0
1515
* Author: Austin Ginder
1616
* Author URI: https://austinginder.com
1717
* License: MIT

0 commit comments

Comments
 (0)