Skip to content

Commit 0c00825

Browse files
Keep wordpress-importer.zip for older versions of Playground (#2647)
1 parent 8b74ff8 commit 0c00825

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

packages/playground/website-deployment/custom-redirects-lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ function playground_get_custom_response_headers( $requested_path ) {
345345
'logger.php',
346346
'oauth.php',
347347
'wp-cli.phar',
348+
'wordpress-importer.zip',
348349
),
349350
true
350351
)

packages/playground/website/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AddEncoding x-gzip .gz
55
Header unset ETag
66
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
77
</FilesMatch>
8-
<FilesMatch "index\.js|blueprint-schema\.json|logger.php|wp-cli.phar">
8+
<FilesMatch "index\.js|blueprint-schema\.json|logger.php|wp-cli.phar|wordpress-importer.zip">
99
Header set Access-Control-Allow-Origin "*"
1010
Header unset ETag
1111
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
50.7 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Why we are keeping this file
2+
3+
As of today (2025-09-18), the latest version WordPress Playground is using
4+
the WP core version of the WordPress Importer plugin and no longer needs
5+
the Humanmade fork we were using and hosting at
6+
https://playground.wordpress.net/wordpress-importer.zip.
7+
However, there are older versions of Playground out there, including self-hosted
8+
instances that still depend on that importer URL.
9+
10+
Let's keep serving the last-used version of that wordpress-importer.zip
11+
for such users until we are able make self-hosted instances truly independent
12+
of playground.wordpress.net resources.

0 commit comments

Comments
 (0)