Skip to content

Commit 0be8867

Browse files
DanieleAlessandraDanieleFreemiusfajardoleo
authored
Added InstaWP new TLDs as valid develop domains (#833)
* Added InstaWP new TLDs as valid develop domains * [sandbox-sites] Also update the playground environment subdomains with the new ones for InstaWP's additional staging TLDs. --------- Co-authored-by: Daniele Alessandra <[email protected]> Co-authored-by: Leo Fajardo <[email protected]>
1 parent 84cc094 commit 0be8867

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

includes/entities/class-fs-site.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static function is_localhost_by_address( $url ) {
202202
// Vendasta
203203
( fs_ends_with( $subdomain, '.websitepro-staging.com' ) || fs_ends_with( $subdomain, '.websitepro.hosting' ) ) ||
204204
// InstaWP
205-
fs_ends_with( $subdomain, '.instawp.xyz' ) ||
205+
( fs_ends_with( $subdomain, '.instawp.co' ) || fs_ends_with( $subdomain, '.instawp.link' ) || fs_ends_with( $subdomain, '.instawp.xyz' ) ) ||
206206
// 10Web Hosting
207207
( fs_ends_with( $subdomain, '-dev.10web.site' ) || fs_ends_with( $subdomain, '-dev.10web.cloud' ) )
208208
);
@@ -220,6 +220,8 @@ static function is_playground_wp_environment_by_host( $host ) {
220220
// Services aimed at providing a WordPress sandbox environment.
221221
$sandbox_wp_environment_domains = array(
222222
// InstaWP
223+
'instawp.co',
224+
'instawp.link',
223225
'instawp.xyz',
224226

225227
// TasteWP

start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @var string
1717
*/
18-
$this_sdk_version = '2.12.2.2';
18+
$this_sdk_version = '2.12.2.3';
1919

2020
#region SDK Selection Logic --------------------------------------------------------------------
2121

0 commit comments

Comments
 (0)