-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply browser-targeted WordPress patches via Blueprints, not in remot…
…e.html. Enables patching arbitrary WordPress bundles for compatibility with web browsers. Without this PR, remote.html applies these patch right after the WordPress module is loaded into the /wordpress VFS directory. However, in #700 we want to enable using an arbitrary WordPress build from any PR in wordpress-develop. We must, thus, expose a way of applying the necessary patches. Testing instructions 1. Start Playground, log out 2. Go to /wp-login.php 3. Confirm there's a message explaining what login credentials to use
- Loading branch information
Showing
10 changed files
with
75 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 0 additions & 98 deletions
98
packages/playground/remote/src/lib/web-wordpress-patches/index.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
.../lib/web-wordpress-patches/wp-content/mu-plugins/1-show-admin-credentials-on-wp-login.php
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...atches/wp-content/mu-plugins/2-nice-error-messages-for-plugins-and-themes-directories.php
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...hes/wp-content/mu-plugins/3-links-targeting-top-frame-should-target-playground-iframe.php
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...und/remote/src/lib/web-wordpress-patches/wp-content/mu-plugins/add_requests_transport.php
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...src/lib/web-wordpress-patches/wp-content/mu-plugins/includes/requests_transport_dummy.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.