|
1 | 1 | <?php
|
2 | 2 |
|
3 | 3 | /**
|
4 |
| - * @TODO: Fast unzipping of remote Zip Files by iterating over the entries |
5 |
| - * instead of skipping over to the end central directory index entry. |
6 |
| - * @TODO: Processing Zip Files without the Content-Length header. |
7 |
| - * @TODO: HTTP Cache support for remote files. |
8 |
| - * @TODO: Restrictions on supported step types, media files types, SQL queries types, etc. |
| 4 | + * @TODO: A large test suite. |
| 5 | + * @TODO: Client HTTP queue deadlock when we enqueued a lot of requests and need to fetch a small |
| 6 | + * ad-hoc resource such as a JSON list of translations. |
| 7 | + * @TODO: Exception structure? |
| 8 | + * @TODO: Blueprint JSON validation. |
| 9 | + * @TODO: Support Zip Files without the Content-Length header. |
9 | 10 | * @TODO: Add importMedia step to the specification.
|
10 | 11 | * @TODO: How to handle the default WordPress theme? Should it be preserved for new sites?
|
11 | 12 | * What if we want to remove it? And what should be the semantics for existing sites?
|
| 13 | + * @TODO: Production-grade HTTP Cache support for remote files. Not the stopgap we have now. |
| 14 | + * @TODO (low priority): Restrictions on supported step types, media files types, SQL queries types, etc. |
| 15 | + * @TODO (low priority): Fast unzipping of remote Zip Files by iterating over the entries |
| 16 | + * instead of skipping over to the end central directory index entry. |
12 | 17 | */
|
13 | 18 |
|
14 | 19 | namespace WordPress\Blueprints\Steps;
|
|
33 | 38 | "themes" => [
|
34 | 39 | "adventurer"
|
35 | 40 | ],
|
| 41 | + "wordpressVersion" => "6.5", |
| 42 | + "phpVersion" => [ |
| 43 | + "min" => "8.0", |
| 44 | + "max" => "8.4", |
| 45 | + "recommended" => "8.2" |
| 46 | + ], |
| 47 | + "activeTheme" => "twentytwentyfour", |
36 | 48 | "blueprintMeta" => [
|
37 | 49 | "name" => "Full Featured Blueprint",
|
38 | 50 | "description" => "A blueprint demonstrating most of the available features",
|
|
53 | 65 | "supports" => ["title", "editor", "author", "thumbnail", "excerpt", "comments"]
|
54 | 66 | ]
|
55 | 67 | ],
|
| 68 | + // "muPlugins" => [ |
| 69 | + // "0-test" => [ |
| 70 | + // "filename" => "0-test.php", |
| 71 | + // "content" => "<?php |
| 72 | + // echo 'test'; |
| 73 | + // ? >" |
| 74 | + // ] |
| 75 | + // ], |
| 76 | + "users" => [ |
| 77 | + [ |
| 78 | + "username" => "admin", |
| 79 | + "password" => "password", |
| 80 | + "email" => "adam@example.com", |
| 81 | + "role" => "adamadamin" |
| 82 | + ] |
| 83 | + ], |
| 84 | + "roles" => [ |
| 85 | + [ |
| 86 | + "name" => "adamadamin", |
| 87 | + // @TODO: What's the correct way to set capabilities? |
| 88 | + "capabilities" => ["manage_options"=>"manage_options"] |
| 89 | + ] |
| 90 | + ], |
| 91 | + "siteOptions" => [ |
| 92 | + "blogname" => "Blueprint Demo Site", |
| 93 | + "timezone_string" => "America/New_York", |
| 94 | + "permalink_structure" => "/%year%/%monthnum%/%postname%/" |
| 95 | + ], |
| 96 | + "siteLanguage" => "en_US", |
| 97 | + "constants" => [ |
| 98 | + "WP_DEBUG" => true, |
| 99 | + "SCRIPT_DEBUG" => true |
| 100 | + ], |
56 | 101 | "media" => [
|
57 | 102 | "https://wordpress.org/files/2024/10/design-visual-6-7.png",
|
58 | 103 | [
|
|
0 commit comments