Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wp-content #62

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wp-content/html-pages/1_developer-apis/1_query-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>Query API</h1>
<!-- /wp:paragraph -->

<!-- wp:code -->
<pre class="wp-block-code"><code>https:&#47;&#47;playground.wordpress.net/?theme=pendant</code></pre>
<pre class="wp-block-code"><code>https:&#047;&#047;playground.wordpress.net/?theme=pendant</code></pre>
<!-- /wp:code -->

<!-- wp:paragraph -->
Expand Down
1 change: 1 addition & 0 deletions wp-content/html-pages/1_developer-apis/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<h1>Developer APIs</h1>

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 class="wp-block-heading">Asyncify crashes</h2>
<!-- /wp:paragraph -->

<!-- wp:image -->
<figure class="wp-block-image"><img src="../../static/img/asyncify-error.png" alt="A screenshot of an asyncify error in the terminal"/></figure>
<figure class="wp-block-image"><img src="../../static/img/asyncify-error.png" alt="A screenshot of an asyncify error in the terminal" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ <h1>WebAssembly PHP</h1>
<!-- /wp:paragraph -->

<!-- wp:image {"id":36,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/36_c-programs-general-dc8c885b6c55e554f0c504f32e49ad8d.png" alt="" class="wp-image-36"/></figure>
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/36_c-programs-general-dc8c885b6c55e554f0c504f32e49ad8d.png" alt="" class="wp-image-36" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Building PHP to WebAssembly is very similar to building vanilla PHP. The wasm build required <a href="https://github.com/WordPress/wordpress-playground/blob/0d451c33936a8db5b7a158fa8aad288c19370a7d/packages/php-wasm/compile/build-assets/php7.1.patch#L8-L9">adjusting a function signature here</a>, <a href="https://github.com/WordPress/wordpress-playground/blob/0d451c33936a8db5b7a158fa8aad288c19370a7d/packages/php-wasm/compile/Dockerfile#L495">forcing a config variable there</a>, and applying <a href="https://github.com/WordPress/wordpress-playground/tree/0d451c33936a8db5b7a158fa8aad288c19370a7d/packages/php-wasm/compile/build-assets">a few small patches</a>, but there's relatively few adjustments involved.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":37,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/37_c-programs-php-4a55d44329eb4e6403983664c6492f5b.png" alt="" class="wp-image-37"/></figure>
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/37_c-programs-php-4a55d44329eb4e6403983664c6492f5b.png" alt="" class="wp-image-37" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
Expand All @@ -25,7 +25,7 @@ <h1>WebAssembly PHP</h1>
<!-- /wp:paragraph -->

<!-- wp:image {"id":38,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/38_c-programs-php-versions-d204a7325079ab708fd605a6a1d2681b.png" alt="" class="wp-image-38"/></figure>
<figure class="wp-block-image size-full"><img src="https://playground.internal/wp-content/uploads/2024/04/38_c-programs-php-versions-d204a7325079ab708fd605a6a1d2681b.png" alt="" class="wp-image-38" /></figure>
<!-- /wp:image -->

<!-- wp:heading {"level":3} -->
Expand Down